diff options
author | Sean McGivern <sean@gitlab.com> | 2016-11-17 22:22:39 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-11-28 19:40:48 +0000 |
commit | 854fbbfb07b84394cc952d0ae20b7f29957e6555 (patch) | |
tree | cd6ba08f6a0a1d2205a1ef651e4cba8ba7f35a9b /spec | |
parent | 938de31167e262cb3eb952f6be1797b4c891d34c (diff) | |
download | gitlab-ce-854fbbfb07b84394cc952d0ae20b7f29957e6555.tar.gz |
Tidy up text emails
Diffstat (limited to 'spec')
-rw-r--r-- | spec/mailers/notify_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 76ea5f6be31..1c4ecf83141 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -50,7 +50,7 @@ describe Notify do context 'when enabled email_author_in_body' do before do - allow_any_instance_of(ApplicationSetting).to receive(:email_author_in_body).and_return(true) + stub_application_setting(email_author_in_body: true) end it 'contains a link to note author' do @@ -229,7 +229,7 @@ describe Notify do context 'when enabled email_author_in_body' do before do - allow_any_instance_of(ApplicationSetting).to receive(:email_author_in_body).and_return(true) + stub_application_setting(email_author_in_body: true) end it 'contains a link to note author' do @@ -607,7 +607,7 @@ describe Notify do context 'when enabled email_author_in_body' do before do - allow_any_instance_of(ApplicationSetting).to receive(:email_author_in_body).and_return(true) + stub_application_setting(email_author_in_body: true) end it 'contains a link to note author' do @@ -726,7 +726,7 @@ describe Notify do context 'when enabled email_author_in_body' do before do - allow_any_instance_of(ApplicationSetting).to receive(:email_author_in_body).and_return(true) + stub_application_setting(email_author_in_body: true) end it 'contains a link to note author' do |