Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
omichelsen committed Sep 13, 2016
1 parent f1d3fbf commit 9127ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/glry.js
Expand Up @@ -52,7 +52,7 @@ describe('glry', function () {
it('should show error', function (done) {
spyOn(options, 'load').and.returnValue('invalid.jpg');
options.onLoadEnd = function () {
expect(elm.querySelector('.error').style.display).toEqual('block');
expect(elm.querySelector('.error').classList.contains('hidden')).toBeFalsy();
done();
};
glry = new Glry(options);
Expand Down

0 comments on commit 9127ee8

Please sign in to comment.