summaryrefslogtreecommitdiff
path: root/spec/bundler/install/path_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/path_spec.rb')
-rw-r--r--spec/bundler/install/path_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/install/path_spec.rb b/spec/bundler/install/path_spec.rb
index 4bd9c1f5f4..45e2b46055 100644
--- a/spec/bundler/install/path_spec.rb
+++ b/spec/bundler/install/path_spec.rb
@@ -37,7 +37,7 @@ RSpec.describe "bundle install" do
end
it "disallows --path vendor/bundle --system", :bundler => "< 3" do
- bundle "install --path vendor/bundle --system"
+ bundle "install --path vendor/bundle --system", :raise_on_error => false
expect(err).to include("Please choose only one option.")
expect(exitstatus).to eq(15) if exitstatus
end
@@ -187,7 +187,7 @@ RSpec.describe "bundle install" do
vendored_gems("extensions").rmtree
- run "require 'very_simple_binary_c'"
+ run "require 'very_simple_binary_c'", :raise_on_error => false
expect(err).to include("Bundler::GemNotFound")
bundle "config --local path ./vendor/bundle"
@@ -211,7 +211,7 @@ RSpec.describe "bundle install" do
G
bundle "config --local path bundle"
- bundle :install
+ bundle :install, :raise_on_error => false
expect(err).to include("file already exists")
end
end