summaryrefslogtreecommitdiff
path: root/spec/bundler/install
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-11-11 20:26:21 +0100
committergit <svn-admin@ruby-lang.org>2021-11-12 06:05:08 +0900
commit1f91009d2409e65bb293006eba9a1d90247101cc (patch)
tree8dd28d3bcef483b702bd65fd3e93aa650c4905ac /spec/bundler/install
parentd0f266460f982137e24af2fbf3f7eeaaa8d47210 (diff)
[rubygems/rubygems] Remove `have_lockfile` matcher too
https://github.com/rubygems/rubygems/commit/635f3f2605
Diffstat (limited to 'spec/bundler/install')
-rw-r--r--spec/bundler/install/gemfile/path_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/install/gemfile/path_spec.rb b/spec/bundler/install/gemfile/path_spec.rb
index 539fe24285..4143b04c2a 100644
--- a/spec/bundler/install/gemfile/path_spec.rb
+++ b/spec/bundler/install/gemfile/path_spec.rb
@@ -127,9 +127,9 @@ RSpec.describe "bundle install with explicit source paths" do
L
bundle :install, :dir => lib_path("demo")
- expect(lib_path("demo/Gemfile.lock")).to have_lockfile(lockfile)
+ expect(lib_path("demo/Gemfile.lock")).to read_as(lockfile)
bundle :update, :all => true, :dir => lib_path("demo")
- expect(lib_path("demo/Gemfile.lock")).to have_lockfile(lockfile)
+ expect(lib_path("demo/Gemfile.lock")).to read_as(lockfile)
end
it "expands paths when comparing locked paths to Gemfile paths" do