lib/rubocop/cop/rspec/let_before_examples.rb in rubocop-rspec-1.27.0 vs lib/rubocop/cop/rspec/let_before_examples.rb in rubocop-rspec-1.28.0
- old
+ new
@@ -34,11 +34,9 @@
include RangeHelp
include RuboCop::RSpec::FinalEndLocation
MSG = 'Move `let` before the examples in the group.'.freeze
- def_node_matcher :let?, Helpers::ALL.block_pattern
-
def_node_matcher :example_or_group?, <<-PATTERN
{
#{(Examples::ALL + ExampleGroups::ALL).block_pattern}
#{Includes::EXAMPLES.send_pattern}
}