Update spec param expectations
This commit is contained in:
parent
bd624741a1
commit
732a89ce23
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue