summaryrefslogtreecommitdiff
path: root/spec/support/shared_examples/notify_shared_examples.rb
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-06-03 22:22:50 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-06-03 22:29:51 +0900
commitd46c12290d74e9faac888bf5de5cc1d84a00b675 (patch)
tree7a37f61ec0ebeaa732a07d2b287c0642e9c10b37 /spec/support/shared_examples/notify_shared_examples.rb
parent3579ed016acbc3a512217d896a112747fcfd33bc (diff)
downloadgitlab-ce-d46c12290d74e9faac888bf5de5cc1d84a00b675.tar.gz
Replace have_html_espaced_body_text after 517598ba
Diffstat (limited to 'spec/support/shared_examples/notify_shared_examples.rb')
-rw-r--r--spec/support/shared_examples/notify_shared_examples.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_examples/notify_shared_examples.rb b/spec/support/shared_examples/notify_shared_examples.rb
index 43fdaddf545..d176d3fa425 100644
--- a/spec/support/shared_examples/notify_shared_examples.rb
+++ b/spec/support/shared_examples/notify_shared_examples.rb
@@ -212,7 +212,7 @@ shared_examples 'a note email' do
end
it 'contains the message from the note' do
- is_expected.to have_html_escaped_body_text note.note
+ is_expected.to have_body_text note.note
end
it 'does not contain note author' do
@@ -225,7 +225,7 @@ shared_examples 'a note email' do
end
it 'contains a link to note author' do
- is_expected.to have_html_escaped_body_text note.author_name
+ is_expected.to have_body_text note.author_name
end
end
end