Add tests for Gist & Tweet plugins
This commit is contained in:
parent
a46df4baab
commit
6d36bf1c82
1 changed files with 17 additions and 0 deletions
|
@ -117,5 +117,22 @@ describe('filter', function() {
|
||||||
plugins);
|
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);
|
||||||
|
}));
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue