diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-13 13:40:02 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-01 18:07:38 +0200 |
commit | a6c7c4fbb577bfadc608ba9a75c716adf943819c (patch) | |
tree | c6930a0fe3b0cb8bf6da9f749e4b7908f24fba7d | |
parent | 63cc70aa2573345ebfb6bddaeef0b9d465591dd9 (diff) | |
download | bundler-fail_test_if_system_gem_installation_fails.tar.gz |
Make sure spec fails if gems cannot be installedfail_test_if_system_gem_installation_fails
The `realworld_system_gems` helper was failing to install these gems
under rubygems master, and because of that, the related spec was
actually passing, without actually checking for the regression it was
meant to check.
-rw-r--r-- | spec/support/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index f6c94208ab..b3d061c917 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -435,7 +435,7 @@ module Spec ENV["GEM_PATH"] = system_gem_path.to_s gems.each do |gem| - gem_command :install, "--no-document #{gem}" + gem_command! :install, "--no-document #{gem}" end return unless block_given? begin |