summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gems/compact_index_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/gems/compact_index_spec.rb')
-rw-r--r--spec/bundler/install/gems/compact_index_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/install/gems/compact_index_spec.rb b/spec/bundler/install/gems/compact_index_spec.rb
index 18c9485c3c..6e5177c60d 100644
--- a/spec/bundler/install/gems/compact_index_spec.rb
+++ b/spec/bundler/install/gems/compact_index_spec.rb
@@ -856,7 +856,7 @@ The checksum of /versions does not match the checksum provided by the server! So
source "htps://rubygems.org"
gem "rack"
G
- expect(exitstatus).to eq(15) if exitstatus
+ expect(exitstatus).to eq(15)
expect(err).to end_with(<<-E.strip)
The request uri `htps://index.rubygems.org/versions` has an invalid scheme (`htps`). Did you mean `http` or `https`?
E
@@ -869,7 +869,7 @@ The checksum of /versions does not match the checksum provided by the server! So
gem "rack"
G
- expect(exitstatus).to eq(19) if exitstatus
+ expect(exitstatus).to eq(19)
expect(err).
to include("Bundler cannot continue installing rack (1.0.0).").
and include("The checksum for the downloaded `rack-1.0.0.gem` does not match the checksum given by the server.").
@@ -888,7 +888,7 @@ The checksum of /versions does not match the checksum provided by the server! So
source "#{source_uri}"
gem "rack"
G
- expect(exitstatus).to eq(5) if exitstatus
+ expect(exitstatus).to eq(5)
expect(err).to include("The given checksum for rack-1.0.0 (\"checksum!\") is not a valid SHA256 hexdigest nor base64digest")
end