Add tests for Gist & Tweet plugins

This commit is contained in:
Lorenz Hübschle-Schneider 2014-08-09 14:41:55 +01:00 committed by David Cormier
parent a46df4baab
commit 6d36bf1c82

View file

@ -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);
}));
});
});