lib/rubocop/cop/rspec/invalid_predicate_matcher.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/invalid_predicate_matcher.rb in rubocop-rspec-1.34.0

- old
+ new

@@ -22,10 +22,10 @@ (send (send nil? :expect ...) #{Runners::ALL.node_pattern_union} $(send nil? #predicate?)) PATTERN def on_send(node) invalid_predicate_matcher?(node) do |predicate| - add_offense(predicate, location: :expression) + add_offense(predicate) end end private