Commit 0a110b67 by Valera Rozuvan

Using native Jasmine-jQuery method to check for hidden el.

parent 33fa1e2c
......@@ -140,7 +140,7 @@
});
it('captions panel is not shown', function () {
expect(videoCaption.hideSubtitlesEl.css('display')).toBe('none');
expect(videoCaption.hideSubtitlesEl).toBeHidden();
});
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment