summaryrefslogtreecommitdiff
path: root/spec/tasks/gitlab/mail_google_schema_whitelisting.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/tasks/gitlab/mail_google_schema_whitelisting.rb')
-rw-r--r--spec/tasks/gitlab/mail_google_schema_whitelisting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/mail_google_schema_whitelisting.rb b/spec/tasks/gitlab/mail_google_schema_whitelisting.rb
index 45aaf0fc90b..22e746870dc 100644
--- a/spec/tasks/gitlab/mail_google_schema_whitelisting.rb
+++ b/spec/tasks/gitlab/mail_google_schema_whitelisting.rb
@@ -12,7 +12,7 @@ describe 'gitlab:mail_google_schema_whitelisting rake task' do
describe 'call' do
before do
# avoid writing task output to spec progress
- $stdout.stub :write
+ allow($stdout).to receive :write
end
let :run_rake_task do