Fix code that depends on incorrect inflector behavior
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
8a22b5bf54
commit
d23ffc832c
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
|||
.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}\)/
|
||||
|
|
Loading…
Reference in a new issue