diff options
author | Andre Arko <andre@arko.net> | 2015-05-17 20:46:31 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-05-17 20:46:31 -0700 |
commit | ddd3c45d36ef233908b625ce82e952ba60fdcaa0 (patch) | |
tree | 0f89f0defd0efec942f2a4b0402b089447fdd372 | |
parent | 8c0cca9e00b08808349a521b40f03c6b322d854a (diff) | |
download | bundler-ddd3c45d36ef233908b625ce82e952ba60fdcaa0.tar.gz |
stub out UI so that RG doesn’t call File.open()
-rw-r--r-- | spec/bundler/definition_spec.rb | 1 |
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 |