lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/rails/http_status.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -58,10 +58,10 @@
extend AutoCorrector
include ConfigurableEnforcedStyle
RESTRICT_ON_SEND = %i[have_http_status].freeze
# @!method http_status(node)
- def_node_matcher :http_status, <<-PATTERN
+ def_node_matcher :http_status, <<~PATTERN
(send nil? :have_http_status ${int sym str})
PATTERN
def on_send(node)
http_status(node) do |arg|