diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-24 19:52:14 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-15 16:05:12 +0900 |
commit | 16823d4a05580e041ff514122de5f3a3fbcef409 (patch) | |
tree | 56b01b2c04e7b89e4e7437db1e4abcc9ad7fde94 /spec/bundler/commands/check_spec.rb | |
parent | e2837a77be2164fa17be046eabb93cbb63f77311 (diff) | |
download | ruby-16823d4a05580e041ff514122de5f3a3fbcef409.tar.gz |
[rubygems/rubygems] Remove unnecessary assertions on exitstatus
Since our helpers now raise by default if the subcommand fails, these
will never actually fail and are not necessary.
https://github.com/rubygems/rubygems/commit/6153b9321e
Diffstat (limited to 'spec/bundler/commands/check_spec.rb')
-rw-r--r-- | spec/bundler/commands/check_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/bundler/commands/check_spec.rb b/spec/bundler/commands/check_spec.rb index 334e8d6992..b2d459368e 100644 --- a/spec/bundler/commands/check_spec.rb +++ b/spec/bundler/commands/check_spec.rb @@ -8,7 +8,6 @@ RSpec.describe "bundle check" do G bundle :check - expect(exitstatus).to eq(0) if exitstatus expect(out).to include("The Gemfile's dependencies are satisfied") end @@ -272,7 +271,6 @@ RSpec.describe "bundle check" do it "returns success when the Gemfile is satisfied" do bundle :install bundle :check - expect(exitstatus).to eq(0) if exitstatus expect(out).to include("The Gemfile's dependencies are satisfied") end |