summaryrefslogtreecommitdiff
path: root/spec/commands/update_spec.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-10 08:45:00 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-07-19 13:10:39 -0500
commitaec2780f59caf6070752fc7ceda1470cf1faf496 (patch)
tree0dd4b90e4073c4e42d3d60e11646c60216deaa41 /spec/commands/update_spec.rb
parent6b9defe6a5c3a83f13d2f45e2166d7198ae28486 (diff)
downloadbundler-aec2780f59caf6070752fc7ceda1470cf1faf496.tar.gz
Set forgotten command line options via config in 2.0
Diffstat (limited to 'spec/commands/update_spec.rb')
-rw-r--r--spec/commands/update_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/update_spec.rb b/spec/commands/update_spec.rb
index 49a2ceafd1..b7e0a17305 100644
--- a/spec/commands/update_spec.rb
+++ b/spec/commands/update_spec.rb
@@ -202,9 +202,9 @@ RSpec.describe "bundle update" do
bundle! "install --deployment"
bundle "update", :all => bundle_update_requires_all?
+ expect(last_command).to be_failure
expect(out).to match(/You are trying to install in deployment mode after changing.your Gemfile/m)
expect(out).to match(/freeze \nby running `bundle install --no-deployment`./m)
- expect(exitstatus).not_to eq(0) if exitstatus
end
it "should suggest different command when frozen is set globally", :bundler => "< 2" do