|
|
|
@ -117,5 +117,22 @@ describe('filter', function() { |
|
|
|
|
plugins); |
|
|
|
|
})); |
|
|
|
|
|
|
|
|
|
it('should recognize gists', inject(function(plugins) { |
|
|
|
|
expectTheseMessagesToContain([ |
|
|
|
|
'https://gist.github.com/lorenzhs/e8c1a7d56fa170320eb8', |
|
|
|
|
'https://gist.github.com/e8c1a7d56fa170320eb8', |
|
|
|
|
], |
|
|
|
|
'Gist', |
|
|
|
|
plugins); |
|
|
|
|
})); |
|
|
|
|
|
|
|
|
|
it('should recognize tweets', inject(function(plugins) { |
|
|
|
|
expectTheseMessagesToContain([ |
|
|
|
|
'https://twitter.com/DFB_Team_EN/statuses/488436782959448065', |
|
|
|
|
], |
|
|
|
|
'Tweet', |
|
|
|
|
plugins); |
|
|
|
|
})); |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|