lib/rubocop/cop/rspec/be.rb in rubocop-rspec-1.41.0 vs lib/rubocop/cop/rspec/be.rb in rubocop-rspec-1.42.0

- old
+ new

@@ -26,10 +26,10 @@ (send _ #{Runners::ALL.node_pattern_union} $(send nil? :be)) PATTERN def on_send(node) be_without_args(node) do |matcher| - add_offense(matcher, location: :selector) + add_offense(matcher.loc.selector) end end end end end