summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-09-20 19:37:56 +0200
committerSamuel Giddins <segiddins@segiddins.me>2016-09-20 19:37:56 +0200
commitf7f608729bd73a777acd1751ae00642385edff13 (patch)
tree5fa90a72611d2c59b6539ed4bd4a33bd9ca6e71c
parent483e93709a96a51f63f039d19e56ce41a83c356b (diff)
downloadbundler-seg-warn-unused-deps.tar.gz
Update spec to account for old rubygems printing the dependency typeseg-warn-unused-deps
-rw-r--r--spec/install/gemfile/platform_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/install/gemfile/platform_spec.rb b/spec/install/gemfile/platform_spec.rb
index f9ecdeb799..9caa0b5731 100644
--- a/spec/install/gemfile/platform_spec.rb
+++ b/spec/install/gemfile/platform_spec.rb
@@ -218,7 +218,7 @@ describe "bundle install with platform conditionals" do
bundle! "install"
expect(out).to include <<-O.strip
-The dependency rack (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform jruby`.
+The dependency #{Gem::Dependency.new("rack", ">= 0")} will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform jruby`.
O
end
end