Commit d23ffc83 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix code that depends on incorrect inflector behavior

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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