summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/update_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-11-11 20:24:02 +0100
committergit <svn-admin@ruby-lang.org>2021-11-12 06:05:07 +0900
commitd0f266460f982137e24af2fbf3f7eeaaa8d47210 (patch)
tree401236964644ebfbb8047403d877ae66e0aaf9d4 /spec/bundler/commands/update_spec.rb
parent84202963c52e02cecad3e6b2fad478bfbeee1bc7 (diff)
[rubygems/rubygems] Remove `lockfile_should_be` helper
It doesn't add anything. https://github.com/rubygems/rubygems/commit/ece3c864df
Diffstat (limited to 'spec/bundler/commands/update_spec.rb')
-rw-r--r--spec/bundler/commands/update_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/commands/update_spec.rb b/spec/bundler/commands/update_spec.rb
index 14fe3e245b..c8f084ca0e 100644
--- a/spec/bundler/commands/update_spec.rb
+++ b/spec/bundler/commands/update_spec.rb
@@ -939,7 +939,7 @@ RSpec.describe "bundle update --ruby" do
it "removes the Ruby from the Gemfile.lock" do
bundle "update --ruby"
- lockfile_should_be <<-L
+ expect(lockfile).to eq <<~L
GEM
remote: #{file_uri_for(gem_repo1)}/
specs:
@@ -967,7 +967,7 @@ RSpec.describe "bundle update --ruby" do
it "updates the Gemfile.lock with the latest version" do
bundle "update --ruby"
- lockfile_should_be <<-L
+ expect(lockfile).to eq <<~L
GEM
remote: #{file_uri_for(gem_repo1)}/
specs:
@@ -1014,7 +1014,7 @@ RSpec.describe "bundle update --ruby" do
it "updates the Gemfile.lock with the latest version" do
bundle "update --ruby"
- lockfile_should_be <<-L
+ expect(lockfile).to eq <<~L
GEM
remote: #{file_uri_for(gem_repo1)}/
specs: