Commit 064eb2ca authored by Fu Xu's avatar Fu Xu

follow the styleguide: Don't use parentheses around a literal

parent 64a60bc4
...@@ -44,7 +44,7 @@ shared_examples 'an email sent from GitLab' do ...@@ -44,7 +44,7 @@ shared_examples 'an email sent from GitLab' do
end end
it 'ends the subject with the suffix' do it 'ends the subject with the suffix' do
is_expected.to have_subject (/ \| A Nice Suffix$/) is_expected.to have_subject /\ \| A Nice Suffix$/
end end
end end
end end
......
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