summaryrefslogtreecommitdiff
path: root/spec/update
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-02 15:33:38 +0200
committerSamuel Giddins <segiddins@segiddins.me>2017-07-03 15:42:52 +0200
commit762227012e61e45af9241019732cf8036305171d (patch)
treed7a745bbb02a82d98bccc5b3e68a2751be584ad2 /spec/update
parent2ab5d52646b75c6ff5b25ea70cfe797077be86db (diff)
downloadbundler-762227012e61e45af9241019732cf8036305171d.tar.gz
Update the Bundler 2 specs for the removal of using... messagesseg-suppress-using-messages
Diffstat (limited to 'spec/update')
-rw-r--r--spec/update/git_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index f7e10de666..2b12713198 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -27,12 +27,11 @@ RSpec.describe "bundle update" do
s.add_dependency "activesupport", "= 3.0"
end
- install_gemfile <<-G
+ install_gemfile! <<-G
gem "rails", :git => "#{lib_path("rails")}"
G
- bundle "update rails"
- expect(out).to include("Using activesupport 3.0 from #{lib_path("rails")} (at master@#{revision_for(lib_path("rails"))[0..6]})")
+ bundle! "update rails"
expect(the_bundle).to include_gems "rails 3.0", "activesupport 3.0"
end