lib/rubocop/cop/rspec/message_chain.rb in rubocop-rspec-1.9.1 vs lib/rubocop/cop/rspec/message_chain.rb in rubocop-rspec-1.10.0

- old
+ new

@@ -16,10 +16,10 @@ def on_send(node) _receiver, method_name, *_args = *node return unless Matchers::MESSAGE_CHAIN.include?(method_name) - add_offense(node, :selector, MESSAGE % { method: method_name }) + add_offense(node, :selector, format(MESSAGE, method: method_name)) end end end end end