diff options
author | Fu Xu <fuxu@fuxu.name> | 2016-09-29 11:11:40 +0300 |
---|---|---|
committer | Fu Xu <fuxu@fuxu.name> | 2016-10-03 13:07:28 +0300 |
commit | 064eb2caa671cdd18cd051e49ff2086d004e5516 (patch) | |
tree | 9bac4b713637184e80227bbab25e4b723ea4d01b /spec | |
parent | 64a60bc4545cbf85b3a025edd63bdaefd8cd9499 (diff) |
follow the styleguide: Don't use parentheses around a literal
Diffstat (limited to 'spec')
-rw-r--r-- | spec/mailers/shared/notify.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/shared/notify.rb b/spec/mailers/shared/notify.rb index 33d1075c739..3956d05060b 100644 --- a/spec/mailers/shared/notify.rb +++ b/spec/mailers/shared/notify.rb @@ -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 |