diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-05-26 01:46:54 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-05-31 14:33:03 +0200 |
commit | ecdbde3d95b7abf11bae47d3a3b05693d84c27cc (patch) | |
tree | 9479c4fa10515ac2a762b334aa89269925216c4c /spec/support/rake_helpers.rb | |
parent | 27e632758feed94d8b3ff065b7c8928a854cecc5 (diff) | |
download | gitlab-ce-ecdbde3d95b7abf11bae47d3a3b05693d84c27cc.tar.gz |
Improve Specs and some fixes
Diffstat (limited to 'spec/support/rake_helpers.rb')
-rw-r--r-- | spec/support/rake_helpers.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/rake_helpers.rb b/spec/support/rake_helpers.rb index 4a8158ed79b..5cb415111d2 100644 --- a/spec/support/rake_helpers.rb +++ b/spec/support/rake_helpers.rb @@ -7,4 +7,9 @@ module RakeHelpers def stub_warn_user_is_not_gitlab allow_any_instance_of(Object).to receive(:warn_user_is_not_gitlab) end + + def silence_output + allow($stdout).to receive(:puts) + allow($stdout).to receive(:print) + end end |