Satisfy Rubocop
This commit is contained in:
parent
08bbb9fce6
commit
336016fa85
|
@ -267,7 +267,7 @@ describe Projects::CommitController do
|
|||
|
||||
expect(assigns(:diff_notes_disabled)).to be_falsey
|
||||
expect(assigns(:new_diff_note_attrs)).to eq(noteable_type: 'Commit',
|
||||
commit_id: commit2.id)
|
||||
commit_id: commit2.id)
|
||||
end
|
||||
|
||||
it 'only renders the diffs for the path given' do
|
||||
|
|
|
@ -575,7 +575,7 @@ describe Projects::MergeRequestsController do
|
|||
|
||||
expect(assigns(:diff_notes_disabled)).to be_falsey
|
||||
expect(assigns(:new_diff_note_attrs)).to eq(noteable_type: 'MergeRequest',
|
||||
noteable_id: merge_request.id)
|
||||
noteable_id: merge_request.id)
|
||||
end
|
||||
|
||||
it 'only renders the diffs for the path given' do
|
||||
|
|
Loading…
Reference in New Issue