Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-12 23:59:49 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-14 17:09:31 +0300
commit765a2c73271cf311311c391e7e64f83e141c79ae (patch)
tree9a9ea4b50427fb7deec318b64f45aec1b0bd33b8 /spec/lib/banzai/filter/gollum_tags_filter_spec.rb
parent89e8b82b638e440bc487c4135cdfa4402fdffde5 (diff)
Refactoring Banzai::Filter::GollumTagsFilter
Diffstat (limited to 'spec/lib/banzai/filter/gollum_tags_filter_spec.rb')
-rw-r--r--spec/lib/banzai/filter/gollum_tags_filter_spec.rb4
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)