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:
authorGabriel Mazetto <brodock@gmail.com>2017-05-26 02:46:54 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-05-31 15:33:03 +0300
commitecdbde3d95b7abf11bae47d3a3b05693d84c27cc (patch)
tree9479c4fa10515ac2a762b334aa89269925216c4c /spec/support/rake_helpers.rb
parent27e632758feed94d8b3ff065b7c8928a854cecc5 (diff)
Improve Specs and some fixes
Diffstat (limited to 'spec/support/rake_helpers.rb')
-rw-r--r--spec/support/rake_helpers.rb5
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