summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-17 13:13:30 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-07-17 13:13:30 -0500
commit86ff0f83dc4c1e65759a45fb40916418f0ae0970 (patch)
treee913c4af56e69edd852e8c4f3ea89c28a9f4d4bb
parent796aa41ad2875190a96dffbc3606f85b1140b20c (diff)
downloadbundler-86ff0f83dc4c1e65759a45fb40916418f0ae0970.tar.gz
fixup! Auto merge of #5819 - bundler:seg-full-index-invalid-deps, r=indirect
-rw-r--r--spec/commands/install_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb
index 8beb1117e1..2d67a39f1e 100644
--- a/spec/commands/install_spec.rb
+++ b/spec/commands/install_spec.rb
@@ -345,8 +345,9 @@ RSpec.describe "bundle install with gem sources" do
gem "ajp-rails", "0.0.0"
G
- expect(last_command.stdboth).not_to match(/Error Report/i)
- expect(last_command.bundler_err).to include("An error occurred while installing ajp-rails (0.0.0), and Bundler cannot continue.").
+ expect(out).not_to match(/Error Report/i)
+ expect(err).not_to match(/Error Report/i)
+ expect(out).to include("An error occurred while installing ajp-rails (0.0.0), and Bundler cannot continue.").
and include("Make sure that `gem install ajp-rails -v '0.0.0'` succeeds before bundling.")
end