summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-04-12 12:13:17 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-04-13 20:40:29 -0500
commit2c8f56dccb2b348ff4edda45a52c142259f63fc4 (patch)
tree678fe00d207d0832cf956dd8d0096134805bde7b
parent756ef2ccbbfb67f9cba3ee96d03e69fe108290dc (diff)
downloadbundler-2c8f56dccb2b348ff4edda45a52c142259f63fc4.tar.gz
Support rubygems that print dep type in specs
-rw-r--r--spec/lock/lockfile_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index 86a23dbe3d..968c969a55 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -1277,7 +1277,7 @@ RSpec.describe "the lockfile format" do
gem "rack_middleware"
G
- expect(out).to include("Downloading rack_middleware-1.0 revealed dependencies not in the API or the lockfile (rack (= 0.9.1)).").
+ expect(out).to include("Downloading rack_middleware-1.0 revealed dependencies not in the API or the lockfile (#{Gem::Dependency.new("rack", "= 0.9.1")}).").
and include("Either installing with `--full-index` or running `bundle update rack_middleware` should fix the problem.")
end