diff options
author | Toon Claes <toon@gitlab.com> | 2017-04-24 12:20:46 +0200 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-04-27 13:22:17 +0200 |
commit | a53442751f77cd586a511c5a539341377ec22807 (patch) | |
tree | 8ec5d15a4324884c8ddf0c500f1728c7cadd3940 /spec/helpers/markup_helper_spec.rb | |
parent | 677101b916a6a1b0a0f38a3e78c2c7c1ea8f9a74 (diff) | |
download | gitlab-ce-a53442751f77cd586a511c5a539341377ec22807.tar.gz |
Fix failing specs
Diffstat (limited to 'spec/helpers/markup_helper_spec.rb')
-rw-r--r-- | spec/helpers/markup_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/markup_helper_spec.rb b/spec/helpers/markup_helper_spec.rb index bba4f4fdc8e..914b944eb58 100644 --- a/spec/helpers/markup_helper_spec.rb +++ b/spec/helpers/markup_helper_spec.rb @@ -126,7 +126,7 @@ describe MarkupHelper do it "uses Wiki pipeline for markdown files" do allow(@wiki).to receive(:format).and_return(:markdown) - expect(helper).to receive(:markdown_unsafe).with('wiki content', pipeline: :wiki, project_wiki: @wiki, page_slug: "nested/page") + expect(helper).to receive(:markdown_unsafe).with('wiki content', pipeline: :wiki, project: project, project_wiki: @wiki, page_slug: "nested/page") helper.render_wiki_content(@wiki) end |