summaryrefslogtreecommitdiff
path: root/spec/bundler/support/matchers.rb
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/support/matchers.rb
parentd0f266460f982137e24af2fbf3f7eeaaa8d47210 (diff)
[rubygems/rubygems] Remove `have_lockfile` matcher too
https://github.com/rubygems/rubygems/commit/635f3f2605
Diffstat (limited to 'spec/bundler/support/matchers.rb')
-rw-r--r--spec/bundler/support/matchers.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/bundler/support/matchers.rb b/spec/bundler/support/matchers.rb
index f648321383..8b16b4e5b5 100644
--- a/spec/bundler/support/matchers.rb
+++ b/spec/bundler/support/matchers.rb
@@ -208,10 +208,6 @@ module Spec
RSpec::Matchers.define_negated_matcher :not_include_gems, :include_gems
RSpec::Matchers.alias_matcher :include_gem, :include_gems
- def have_lockfile(expected)
- read_as(strip_whitespace(expected))
- end
-
def plugin_should_be_installed(*names)
names.each do |name|
expect(Bundler::Plugin).to be_installed(name)