plugins: add tests for video plugin

Test ogv, webm and mp4 urls
fix-mobilekeyboard
David Cormier 11 years ago committed by Tor Hveem
parent b6260e7cc7
commit cfbc8108f3
  1. 10
      test/unit/plugins.js

@ -71,6 +71,16 @@ describe('filter', function() {
plugins); plugins);
})); }));
it('should recognize html5 videos', inject(function(plugins) {
expectTheseMessagesToContain([
'http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4',
'http://www.quirksmode.org/html5/videos/big_buck_bunny.webm',
'http://www.quirksmode.org/html5/videos/big_buck_bunny.ogv',
],
'video',
plugins);
}));
it('should recognize images', inject(function(plugins) { it('should recognize images', inject(function(plugins) {
expectTheseMessagesToContain([ expectTheseMessagesToContain([
'http://i.imgur.com/BTNIDBR.gif', 'http://i.imgur.com/BTNIDBR.gif',

Loading…
Cancel
Save