aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/commands/clean_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-24 19:52:14 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-15 16:05:12 +0900
commit16823d4a05580e041ff514122de5f3a3fbcef409 (patch)
tree56b01b2c04e7b89e4e7437db1e4abcc9ad7fde94 /spec/bundler/commands/clean_spec.rb
parente2837a77be2164fa17be046eabb93cbb63f77311 (diff)
downloadruby-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/clean_spec.rb')
-rw-r--r--spec/bundler/commands/clean_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/bundler/commands/clean_spec.rb b/spec/bundler/commands/clean_spec.rb
index f0c506aa04..d7124b398d 100644
--- a/spec/bundler/commands/clean_spec.rb
+++ b/spec/bundler/commands/clean_spec.rb
@@ -315,7 +315,6 @@ RSpec.describe "bundle clean" do
bundle "install"
bundle :clean
- expect(exitstatus).to eq(0) if exitstatus
end
it "displays an error when used without --path" do
@@ -623,7 +622,6 @@ RSpec.describe "bundle clean" do
sys_exec "foo"
- expect(exitstatus).to eq(0) if exitstatus
expect(out).to eq("1.0")
end