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

This commit is contained in:
Fu Xu 2016-09-29 16:11:40 +08:00
parent 64a60bc454
commit 064eb2caa6

View file

@ -44,7 +44,7 @@ shared_examples 'an email sent from GitLab' do
end
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