Stop calling #strip in a commit title in Notify specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
e2809a1649
commit
86af197cc2
1 changed files with 2 additions and 2 deletions
|
@ -602,7 +602,7 @@ describe Notify do
|
|||
|
||||
it 'has the correct subject and body' do
|
||||
aggregate_failures do
|
||||
is_expected.to have_subject("Re: #{project.name} | #{commit.title.strip} (#{commit.short_id})")
|
||||
is_expected.to have_subject("Re: #{project.name} | #{commit.title} (#{commit.short_id})")
|
||||
is_expected.to have_body_text(commit.short_id)
|
||||
end
|
||||
end
|
||||
|
@ -712,7 +712,7 @@ describe Notify do
|
|||
it_behaves_like 'a user cannot unsubscribe through footer link'
|
||||
|
||||
it 'has the correct subject' do
|
||||
is_expected.to have_subject "Re: #{project.name} | #{commit.title.strip} (#{commit.short_id})"
|
||||
is_expected.to have_subject "Re: #{project.name} | #{commit.title} (#{commit.short_id})"
|
||||
end
|
||||
|
||||
it 'contains a link to the commit' do
|
||||
|
|
Loading…
Reference in a new issue