diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-12 18:59:49 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-14 12:09:31 -0200 |
commit | 765a2c73271cf311311c391e7e64f83e141c79ae (patch) | |
tree | 9a9ea4b50427fb7deec318b64f45aec1b0bd33b8 /spec | |
parent | 89e8b82b638e440bc487c4135cdfa4402fdffde5 (diff) | |
download | gitlab-ce-765a2c73271cf311311c391e7e64f83e141c79ae.tar.gz |
Refactoring Banzai::Filter::GollumTagsFilter
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/banzai/filter/gollum_tags_filter_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/lib/banzai/filter/gollum_tags_filter_spec.rb b/spec/lib/banzai/filter/gollum_tags_filter_spec.rb index 530b37526b3..38baa819957 100644 --- a/spec/lib/banzai/filter/gollum_tags_filter_spec.rb +++ b/spec/lib/banzai/filter/gollum_tags_filter_spec.rb @@ -37,8 +37,6 @@ describe Banzai::Filter::GollumTagsFilter, lib: true do context 'linking external images' do it 'creates img tag for valid URL' do - expect(project_wiki).to receive(:find_file).with('http://example.com/image.jpg').and_return(nil) - tag = '[[http://example.com/image.jpg]]' doc = filter("See #{tag}", project_wiki: project_wiki) @@ -46,8 +44,6 @@ describe Banzai::Filter::GollumTagsFilter, lib: true do end it 'does not creates img tag for invalid URL' do - expect(project_wiki).to receive(:find_file).with('http://example.com/image.pdf').and_return(nil) - tag = '[[http://example.com/image.pdf]]' doc = filter("See #{tag}", project_wiki: project_wiki) |