Update spec param expectations

This commit is contained in:
Kerri Miller 2019-06-04 08:43:29 -07:00
parent bd624741a1
commit 732a89ce23

View file

@ -56,7 +56,9 @@ describe PreviewMarkdownService do
expect(Gitlab::Diff::SuggestionsParser) expect(Gitlab::Diff::SuggestionsParser)
.to receive(:parse) .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 .and_call_original
result = service.execute result = service.execute