summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-05-17 20:46:31 -0700
committerAndre Arko <andre@arko.net>2015-05-17 20:46:31 -0700
commitddd3c45d36ef233908b625ce82e952ba60fdcaa0 (patch)
tree0f89f0defd0efec942f2a4b0402b089447fdd372
parent8c0cca9e00b08808349a521b40f03c6b322d854a (diff)
downloadbundler-ddd3c45d36ef233908b625ce82e952ba60fdcaa0.tar.gz
stub out UI so that RG doesn’t call File.open()
-rw-r--r--spec/bundler/definition_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/bundler/definition_spec.rb b/spec/bundler/definition_spec.rb
index 0f184169c9..f411471cde 100644
--- a/spec/bundler/definition_spec.rb
+++ b/spec/bundler/definition_spec.rb
@@ -5,6 +5,7 @@ describe Bundler::Definition do
before do
allow(Bundler).to receive(:settings){ Bundler::Settings.new(".") }
allow(Bundler).to receive(:default_gemfile){ Pathname.new("Gemfile") }
+ allow(Bundler).to receive(:ui){ double("UI", :info => "") }
end
describe "#lock" do