Fix merge request diffs spec
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
49d63dc131
commit
a94553a90c
|
@ -159,7 +159,7 @@ describe MergeRequest, models: true do
|
||||||
|
|
||||||
context 'when there are MR diffs' do
|
context 'when there are MR diffs' do
|
||||||
it 'delegates to the MR diffs' do
|
it 'delegates to the MR diffs' do
|
||||||
merge_request.merge_request_diffs.build
|
merge_request.save
|
||||||
|
|
||||||
expect(merge_request.merge_request_diff).to receive(:raw_diffs).with(hash_including(options))
|
expect(merge_request.merge_request_diff).to receive(:raw_diffs).with(hash_including(options))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue