summaryrefslogtreecommitdiff
path: root/spec/mailers
diff options
context:
space:
mode:
authorFu Xu <fuxu@fuxu.name>2016-09-29 16:11:40 +0800
committerFu Xu <fuxu@fuxu.name>2016-10-03 18:07:28 +0800
commit064eb2caa671cdd18cd051e49ff2086d004e5516 (patch)
tree9bac4b713637184e80227bbab25e4b723ea4d01b /spec/mailers
parent64a60bc4545cbf85b3a025edd63bdaefd8cd9499 (diff)
downloadgitlab-ce-064eb2caa671cdd18cd051e49ff2086d004e5516.tar.gz
follow the styleguide: Don't use parentheses around a literal
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/shared/notify.rb2
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