BigW Consortium Gitlab

Fix code that depends on incorrect inflector behavior

parent 8a22b5bf
.search-result-row
= render 'projects/commits/commit', project: @project, commit: commits
= render 'projects/commits/commit', project: @project, commit: commit
......@@ -468,7 +468,7 @@ describe Notify do
subject { Notify.note_commit_email(recipient.id, note.id) }
it_behaves_like 'a note email'
it_behaves_like 'an answer to an existing thread', 'commits'
it_behaves_like 'an answer to an existing thread', 'commit'
it 'has the correct subject' do
is_expected.to have_subject /#{commit.title} \(#{commit.short_id}\)/
......
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