diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-03 18:43:17 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 61b6f53337cb71b35c56d480ec6044ba7e85cb71 (patch) | |
tree | 02cb7fb6e175c9114a87bee50551334a2f7358fb /spec/bundler/cache | |
parent | 529a9e8a1f804332461a8519fe46dd78f3cb4265 (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/cache')
-rw-r--r-- | spec/bundler/cache/gems_spec.rb | 2 | ||||
-rw-r--r-- | spec/bundler/cache/path_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/cache/gems_spec.rb b/spec/bundler/cache/gems_spec.rb index a67aab8a7b..cba07b3077 100644 --- a/spec/bundler/cache/gems_spec.rb +++ b/spec/bundler/cache/gems_spec.rb @@ -137,7 +137,7 @@ RSpec.describe "bundle cache" do gem 'builtin_gem', '1.0.2' G - bundle :cache + bundle :cache, :raise_on_error => false expect(exitstatus).to_not eq(0) if exitstatus expect(err).to include("builtin_gem-1.0.2 is built in to Ruby, and can't be cached") end diff --git a/spec/bundler/cache/path_spec.rb b/spec/bundler/cache/path_spec.rb index abcda4341c..0c84d242b5 100644 --- a/spec/bundler/cache/path_spec.rb +++ b/spec/bundler/cache/path_spec.rb @@ -139,7 +139,7 @@ RSpec.describe "bundle cache with path" do gem "baz", :path => '#{lib_path("baz-1.0")}' G - bundle "cache --no-all" + bundle "cache --no-all", :raise_on_error => false expect(bundled_app("vendor/cache/baz-1.0")).not_to exist end end |