summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-02-17 17:55:28 -0600
committerSamuel Giddins <segiddins@segiddins.me>2017-02-17 17:55:28 -0600
commitdd50f29ec80cdcbdf86ada0a60d66e5338b5aca9 (patch)
tree75d20d44223123f818cc36ac6f45789bb1f63680 /spec
parent1e1530463d69d3967ab24076de98120be3db8431 (diff)
downloadbundler-dd50f29ec80cdcbdf86ada0a60d66e5338b5aca9.tar.gz
[Resolver] Improve sorting of deps with 0 or 1 possibilityseg-resolver-sorting
Diffstat (limited to 'spec')
-rw-r--r--spec/install/bundler_spec.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/spec/install/bundler_spec.rb b/spec/install/bundler_spec.rb
index 2b16fafa38..c1ce57e60e 100644
--- a/spec/install/bundler_spec.rb
+++ b/spec/install/bundler_spec.rb
@@ -44,17 +44,14 @@ RSpec.describe "bundle install" do
In Gemfile:
bundler (= 0.9.2)
- rails (= 3.0) was resolved to 3.0, which depends on
- bundler (>= 0.9.0.pre)
-
Current Bundler version:
bundler (#{Bundler::VERSION})
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
- Could not find gem 'bundler (= 0.9.2)', which is required by gem 'rails (= 3.0)', in any of the sources.
+ Could not find gem 'bundler (= 0.9.2)' in any of the sources
E
- expect(out).to include(nice_error)
+ expect(out).to eq(nice_error)
end
it "works for gems with multiple versions in its dependencies" do