Commit 732a89ce authored by Kerri Miller's avatar Kerri Miller

Update spec param expectations

parent bd624741
......@@ -56,7 +56,9 @@ describe PreviewMarkdownService do
expect(Gitlab::Diff::SuggestionsParser)
.to receive(:parse)
.with(text, position: position, project: merge_request.project)
.with(text, position: position,
project: merge_request.project,
supports_suggestion: true)
.and_call_original
result = service.execute
......
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