lib/rubocop/cop/rspec/rails/minitest_assertions.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/rails/minitest_assertions.rb in rubocop-rspec-2.26.0

- old
+ new

@@ -22,11 +22,11 @@ MSG = 'Use `%<prefer>s`.' RESTRICT_ON_SEND = %i[assert_equal refute_equal].freeze # @!method minitest_assertion(node) - def_node_matcher :minitest_assertion, <<-PATTERN - (send nil? {:assert_equal :refute_equal} $_ $_ $_?) + def_node_matcher :minitest_assertion, <<~PATTERN + (send nil? {:assert_equal :refute_equal} $_ $_ $_?) PATTERN def on_send(node) minitest_assertion(node) do |expected, actual, failure_message| prefer = replacement(node, expected, actual,