Remove dead code

[skip ci]
pull/11698/head
Christophe Bliard 2 years ago
parent 4f0c059f04
commit 05721200cd
No known key found for this signature in database
GPG Key ID: 2BC07603210C3FA4
  1. 1
      lib_static/rubocop/cop/open_project/no_do_end_block_with_rspec_capybara_matcher_in_expect.rb

@ -63,7 +63,6 @@ module RuboCop::Cop::OpenProject
end
MSG = 'The `do .. end` block is associated with `to` and not with Capybara matcher `%<matcher_method>s`.'.freeze
MSG_IMPLICIT_FAILURE = 'That does not work.'.freeze
def_node_matcher :expect_to_with_block?, <<~PATTERN
# ruby-parse output

Loading…
Cancel
Save