Commit 66c8756e authored by Toon Claes's avatar Toon Claes

Remove the unnecessary ApplicationSetting stubbing

parent 5473f3dc
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment