lib/rubocop/cop/rspec/rails/have_http_status.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/rails/have_http_status.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -23,10 +23,10 @@
RUNNERS = %i[to to_not not_to].to_set
RESTRICT_ON_SEND = RUNNERS
# @!method match_status(node)
- def_node_matcher :match_status, <<-PATTERN
+ def_node_matcher :match_status, <<~PATTERN
(send
(send nil? :expect
$(send (send nil? :response) {:status :code})
)
$RUNNERS