it("should be equal", function(){
var canvas = $('.canvas').get(0);
var actual = canvas.getContext('2d').getImageData(0,0,canvas.width, canvas.height);
var expected = new Image();
expected
.src = 'test.png';
expect(
actual
).toImageDiffEqual(expected
);
});
--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.
To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at http://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/d/optout.