summaryrefslogtreecommitdiff
path: root/spec/bundler/runtime/inline_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-03 18:43:17 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit61b6f53337cb71b35c56d480ec6044ba7e85cb71 (patch)
tree02cb7fb6e175c9114a87bee50551334a2f7358fb /spec/bundler/runtime/inline_spec.rb
parent529a9e8a1f804332461a8519fe46dd78f3cb4265 (diff)
[rubygems/rubygems] Make helpers raise by default
https://github.com/rubygems/rubygems/commit/ade0c441d5
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/runtime/inline_spec.rb')
-rw-r--r--spec/bundler/runtime/inline_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb
index fb6c6e90ad..4e76c2dfb0 100644
--- a/spec/bundler/runtime/inline_spec.rb
+++ b/spec/bundler/runtime/inline_spec.rb
@@ -59,7 +59,7 @@ RSpec.describe "bundler/inline#gemfile" do
expect(out).to eq("two")
expect(exitstatus).to be_zero if exitstatus
- script <<-RUBY
+ script <<-RUBY, :raise_on_error => false
gemfile do
path "#{lib_path}" do
gem "eleven"
@@ -130,7 +130,7 @@ RSpec.describe "bundler/inline#gemfile" do
end
it "raises an exception if passed unknown arguments" do
- script <<-RUBY
+ script <<-RUBY, :raise_on_error => false
gemfile(true, :arglebargle => true) do
path "#{lib_path}"
gem "two"