diff options
Diffstat (limited to 'spec/bundler/install/gemfile/sources_spec.rb')
-rw-r--r-- | spec/bundler/install/gemfile/sources_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/install/gemfile/sources_spec.rb b/spec/bundler/install/gemfile/sources_spec.rb index 3690dc50d6..be41857043 100644 --- a/spec/bundler/install/gemfile/sources_spec.rb +++ b/spec/bundler/install/gemfile/sources_spec.rb @@ -38,7 +38,7 @@ RSpec.describe "bundle install with gems on multiple sources" do it "fails", :bundler => "3" do bundle :instal, :raise_on_error => false expect(err).to include("Each source after the first must include a block") - expect(exitstatus).to eq(4) if exitstatus + expect(exitstatus).to eq(4) end end @@ -64,7 +64,7 @@ RSpec.describe "bundle install with gems on multiple sources" do it "fails", :bundler => "3" do bundle :install, :raise_on_error => false expect(err).to include("Each source after the first must include a block") - expect(exitstatus).to eq(4) if exitstatus + expect(exitstatus).to eq(4) end end end @@ -258,7 +258,7 @@ RSpec.describe "bundle install with gems on multiple sources" do it "fails", :bundler => "3" do bundle :install, :raise_on_error => false expect(err).to include("Each source after the first must include a block") - expect(exitstatus).to eq(4) if exitstatus + expect(exitstatus).to eq(4) end end @@ -298,7 +298,7 @@ RSpec.describe "bundle install with gems on multiple sources" do it "fails", :bundler => "3" do bundle :install, :raise_on_error => false expect(err).to include("Each source after the first must include a block") - expect(exitstatus).to eq(4) if exitstatus + expect(exitstatus).to eq(4) end end end |