lib/rubocop/cop/rspec/not_to_not.rb in rubocop-rspec-1.18.0 vs lib/rubocop/cop/rspec/not_to_not.rb in rubocop-rspec-1.19.0

- old
+ new

@@ -20,10 +20,10 @@ def_node_matcher :not_to_not_offense, '(send _ % ...)' def on_send(node) not_to_not_offense(node, alternative_style) do - add_offense(node, :expression) + add_offense(node, location: :expression) end end def autocorrect(node) ->(corrector) { corrector.replace(node.loc.selector, style.to_s) }