diff options
author | Toon Claes <toon@gitlab.com> | 2017-04-26 11:05:13 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-04-27 14:22:17 +0300 |
commit | 66c8756e449b4a541abb6eb99ca8349ce91670d1 (patch) | |
tree | 1a15fc4f73a970cfceb2b7383aa671548d489e2c /spec/helpers/markup_helper_spec.rb | |
parent | 5473f3dcd6d6e0c975f32f336e08a9735af8cc58 (diff) |
Remove the unnecessary ApplicationSetting stubbing
Diffstat (limited to 'spec/helpers/markup_helper_spec.rb')
-rw-r--r-- | spec/helpers/markup_helper_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/helpers/markup_helper_spec.rb b/spec/helpers/markup_helper_spec.rb index 914b944eb58..c10f4b09b5b 100644 --- a/spec/helpers/markup_helper_spec.rb +++ b/spec/helpers/markup_helper_spec.rb @@ -132,7 +132,6 @@ describe MarkupHelper do end it "uses Asciidoctor for asciidoc files" do - allow_any_instance_of(ApplicationSetting).to receive(:current).and_return(::ApplicationSetting.create_from_defaults) allow(@wiki).to receive(:format).and_return(:asciidoc) expect(helper).to receive(:asciidoc_unsafe).with('wiki content') |