summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/post_bundle_message_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/commands/post_bundle_message_spec.rb')
-rw-r--r--spec/bundler/commands/post_bundle_message_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/commands/post_bundle_message_spec.rb b/spec/bundler/commands/post_bundle_message_spec.rb
index 5c6112762e..d31818b1bd 100644
--- a/spec/bundler/commands/post_bundle_message_spec.rb
+++ b/spec/bundler/commands/post_bundle_message_spec.rb
@@ -114,7 +114,7 @@ RSpec.describe "post bundle message" do
end
it "should report a helpful error message", :bundler => "< 3" do
- install_gemfile <<-G
+ install_gemfile <<-G, :raise_on_error => false
source "#{file_uri_for(gem_repo1)}"
gem "rack"
gem "not-a-gem", :group => :development
@@ -123,7 +123,7 @@ RSpec.describe "post bundle message" do
end
it "should report a helpful error message", :bundler => "3" do
- install_gemfile <<-G
+ install_gemfile <<-G, :raise_on_error => false
source "#{file_uri_for(gem_repo1)}"
gem "rack"
gem "not-a-gem", :group => :development
@@ -141,7 +141,7 @@ The source does not contain any versions of 'not-a-gem'
G
bundle :cache
expect(bundled_app("vendor/cache/rack-1.0.0.gem")).to exist
- install_gemfile <<-G
+ install_gemfile <<-G, :raise_on_error => false
source "#{file_uri_for(gem_repo1)}"
gem "rack"
gem "not-a-gem", :group => :development