Skip to content
Snippets Groups Projects
Commit 66c8756e authored by Toon Claes's avatar Toon Claes
Browse files

Remove the unnecessary ApplicationSetting stubbing

parent 5473f3dc
No related branches found
No related tags found
1 merge request!8838Remove view fragment caching for project READMEs
Loading
Loading
@@ -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')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment