Write a test

This commit is contained in:
Peter Elmers 2016-04-21 18:42:38 -05:00
parent fa992e2fa5
commit 0b98f4c8f6

View file

@ -139,6 +139,14 @@ describe('filter', function() {
plugins);
}));
it('should recognize pastebins', inject(function(plugins) {
expectTheseMessagesToContain([
'http://pastebin.com/Wn3TetSE',
],
'Pastebin',
plugins);
}));
it('should recognize giphy gifs', inject(function(plugins) {
expectTheseMessagesToContain([
'https://giphy.com/gifs/eyes-shocked-bird-feqkVgjJpYtjy/',