diff options
Diffstat (limited to 'spec/update/git_spec.rb')
-rw-r--r-- | spec/update/git_spec.rb | 5 |
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 |