diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-23 21:37:03 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-31 14:19:15 +0100 |
commit | 3e9233c18f4365662e7a8e18af3f19380c9c85e4 (patch) | |
tree | 98cdb0c6788d33cb816f1014e67748abac4bb4be /spec/install | |
parent | bf9dfa29b578c1e359f3e970a50e9fa0469ab80d (diff) | |
download | bundler-3e9233c18f4365662e7a8e18af3f19380c9c85e4.tar.gz |
Add a bang to some commands not supposed to fail
Diffstat (limited to 'spec/install')
-rw-r--r-- | spec/install/deploy_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb index f12007e827..faa51e550c 100644 --- a/spec/install/deploy_spec.rb +++ b/spec/install/deploy_spec.rb @@ -42,7 +42,7 @@ RSpec.describe "install with --deployment or --frozen" do end it "still works if you are not in the app directory and specify --gemfile" do - bundle "install" + bundle! "install" Dir.chdir tmp do simulate_new_machine bundle! :install, @@ -60,12 +60,12 @@ RSpec.describe "install with --deployment or --frozen" do gem "foo", :git => "#{lib_path("foo-1.0")}" end G - bundle :install + bundle! :install bundle! :install, forgotten_command_line_options(:deployment => true, :without => "test") end it "works when you bundle exec bundle" do - bundle :install + bundle! :install bundle "install --deployment" bundle! "exec bundle check" end @@ -106,7 +106,7 @@ RSpec.describe "install with --deployment or --frozen" do describe "with an existing lockfile" do before do - bundle "install" + bundle! "install" end it "works with the --deployment flag if you didn't change anything", :bundler => "< 3" do @@ -317,7 +317,7 @@ RSpec.describe "install with --deployment or --frozen" do before { bundle! "config set allow_deployment_source_credential_changes true" } it "allows the replace" do - bundle :install + bundle! :install expect(out).to match(/#{success_message}/) end |