Commit 336016fa authored by Douwe Maan's avatar Douwe Maan Committed by Luke "Jared" Bennett

Satisfy Rubocop

parent 08bbb9fc
...@@ -267,7 +267,7 @@ describe Projects::CommitController do ...@@ -267,7 +267,7 @@ describe Projects::CommitController do
expect(assigns(:diff_notes_disabled)).to be_falsey expect(assigns(:diff_notes_disabled)).to be_falsey
expect(assigns(:new_diff_note_attrs)).to eq(noteable_type: 'Commit', expect(assigns(:new_diff_note_attrs)).to eq(noteable_type: 'Commit',
commit_id: commit2.id) commit_id: commit2.id)
end end
it 'only renders the diffs for the path given' do it 'only renders the diffs for the path given' do
......
...@@ -575,7 +575,7 @@ describe Projects::MergeRequestsController do ...@@ -575,7 +575,7 @@ describe Projects::MergeRequestsController do
expect(assigns(:diff_notes_disabled)).to be_falsey expect(assigns(:diff_notes_disabled)).to be_falsey
expect(assigns(:new_diff_note_attrs)).to eq(noteable_type: 'MergeRequest', expect(assigns(:new_diff_note_attrs)).to eq(noteable_type: 'MergeRequest',
noteable_id: merge_request.id) noteable_id: merge_request.id)
end end
it 'only renders the diffs for the path given' do it 'only renders the diffs for the path given' do
......
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