diff options
author | David RodrÃguez <[email protected]> | 2021-11-11 20:24:02 +0100 |
---|---|---|
committer | git <[email protected]> | 2021-11-12 06:05:07 +0900 |
commit | d0f266460f982137e24af2fbf3f7eeaaa8d47210 () | |
tree | 401236964644ebfbb8047403d877ae66e0aaf9d4 /spec/bundler/commands/check_spec.rb | |
parent | 84202963c52e02cecad3e6b2fad478bfbeee1bc7 (diff) |
[rubygems/rubygems] Remove `lockfile_should_be` helper
It doesn't add anything. https://.com/rubygems/rubygems/commit/ece3c864df
-rw-r--r-- | spec/bundler/commands/check_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -433,7 +433,7 @@ RSpec.describe "bundle check" do describe "BUNDLED WITH" do def lock_with(bundler_version = nil) - lock = <<-L GEM remote: #{file_uri_for(gem_repo1)}/ specs: @@ -447,7 +447,7 @@ RSpec.describe "bundle check" do L if bundler_version - lock += "\n BUNDLED WITH\n #{bundler_version}\n" end lock @@ -466,7 +466,7 @@ RSpec.describe "bundle check" do it "does not change the lock" do lockfile lock_with(nil) bundle :check - lockfile_should_be lock_with(nil) end end @@ -475,7 +475,7 @@ RSpec.describe "bundle check" do lockfile lock_with(Bundler::VERSION.succ) bundle :check expect(err).to include("the running version of Bundler (#{Bundler::VERSION}) is older than the version that created the lockfile (#{Bundler::VERSION.succ})") - lockfile_should_be lock_with(Bundler::VERSION.succ) end end @@ -484,7 +484,7 @@ RSpec.describe "bundle check" do system_gems "bundler-1.18.0" lockfile lock_with("1.18.0") bundle :check - lockfile_should_be lock_with("1.18.0") end end end |