added plugin support for giphy gifs as embedded content and created testcases
This commit is contained in:
parent
f17a976e1a
commit
03a6e391f6
2 changed files with 29 additions and 1 deletions
|
@ -139,6 +139,15 @@ describe('filter', function() {
|
|||
plugins);
|
||||
}));
|
||||
|
||||
it('should recognize giphy gifs', inject(function(plugins) {
|
||||
expectTheseMessagesToContain([
|
||||
'https://giphy.com/gifs/eyes-shocked-bird-feqkVgjJpYtjy/',
|
||||
'http://giphy.com/gifs/funny-cat-FiGiRei2ICzzG',
|
||||
],
|
||||
'Giphy',
|
||||
plugins);
|
||||
}));
|
||||
|
||||
it('should recognize tweets', inject(function(plugins) {
|
||||
expectTheseMessagesToContain([
|
||||
'https://twitter.com/DFB_Team_EN/statuses/488436782959448065',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue