summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorMark Chao <mchao@gitlab.com>2018-05-18 09:50:01 +0800
committerMark Chao <mchao@gitlab.com>2018-05-18 09:50:01 +0800
commita660f548966bc8232cb56c4e344b0da3c91b3701 (patch)
tree0b901111646b4a12ce2013f18137ee7f43ee62e5 /spec/mailers
parent953bb41f25270c07ab12c17472ef0fe8ab848301 (diff)
downloadgitlab-ce-a660f548966bc8232cb56c4e344b0da3c91b3701.tar.gz
Plural reason(s)
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/notify_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index bed7675db4f..e9b3ccf31fb 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -422,6 +422,7 @@ describe Notify do
aggregate_failures do
is_expected.to have_referable_subject(merge_request, reply: true)
is_expected.to have_body_text(project_merge_request_path(project, merge_request))
+ is_expected.to have_body_text('reasons:')
reasons.each do |reason|
is_expected.to have_body_text(reason)
end