summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-07-05 10:44:07 -0300
committerSamuel Giddins <segiddins@segiddins.me>2016-07-05 10:44:07 -0300
commit1745ecc0832bef1103b674a85f5b4c4a63f65d5f (patch)
tree8f02b52a53b2799d7da9885008f91bbaa7a30125
parent2439ac84cfd731aaee9ebaca284cb077cf601969 (diff)
downloadbundler-seg-silence-tests.tar.gz
Fix RubyGems printing packaging messages during the specsseg-silence-tests
-rw-r--r--spec/support/helpers.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index 4fe237a875..34335ee1a3 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -15,6 +15,7 @@ module Spec
ENV["BUNDLE_DISABLE_POSTIT"] = "1"
Bundler.send(:remove_instance_variable, :@settings) if Bundler.send(:instance_variable_defined?, :@settings)
Bundler.ui = nil
+ Bundler.ui # force it to initialize
end
def self.bang(method)