diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-06-21 16:10:20 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-06-23 12:43:55 -0500 |
commit | 9e7a22b3dda65ecc53090839dee8da362c2d79f1 (patch) | |
tree | e35b9cd4830ac4d32f531a97aa8ebc825c2ba922 /spec/install/gems/resolving_spec.rb | |
parent | 864fe937a1e587455592cddc098fd0131ba914cd (diff) | |
download | bundler-9e7a22b3dda65ecc53090839dee8da362c2d79f1.tar.gz |
Get the 2.0 specs passing under 2.0
Diffstat (limited to 'spec/install/gems/resolving_spec.rb')
-rw-r--r-- | spec/install/gems/resolving_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/install/gems/resolving_spec.rb b/spec/install/gems/resolving_spec.rb index 1ba54f999e..261286f7e4 100644 --- a/spec/install/gems/resolving_spec.rb +++ b/spec/install/gems/resolving_spec.rb @@ -140,9 +140,6 @@ RSpec.describe "bundle install with install-time dependencies" do expect(out).to_not include("Gem::InstallError: require_ruby requires Ruby version > 9000") nice_error = strip_whitespace(<<-E).strip - Fetching gem metadata from http://localgemserver.test/. - Fetching version metadata from http://localgemserver.test/ - Resolving dependencies... Bundler could not find compatible versions for gem "ruby\0": In Gemfile: ruby\0 (#{error_message_requirement}) @@ -152,7 +149,7 @@ RSpec.describe "bundle install with install-time dependencies" do Could not find gem 'ruby\0 (> 9000)', which is required by gem 'require_ruby', in any of the sources. E - expect(out).to eq(nice_error) + expect(last_command.bundler_err).to end_with(nice_error) end end |