Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFu Xu <fuxu@fuxu.name>2016-09-29 11:11:40 +0300
committerFu Xu <fuxu@fuxu.name>2016-10-03 13:07:28 +0300
commit064eb2caa671cdd18cd051e49ff2086d004e5516 (patch)
tree9bac4b713637184e80227bbab25e4b723ea4d01b /spec/mailers
parent64a60bc4545cbf85b3a025edd63bdaefd8cd9499 (diff)
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