lib/rubocop/cop/rspec/rails/avoid_setup_hook.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/rails/avoid_setup_hook.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -21,10 +21,10 @@
extend AutoCorrector
MSG = 'Use `before` instead of `setup`.'
# @!method setup_call(node)
- def_node_matcher :setup_call, <<-PATTERN
+ def_node_matcher :setup_call, <<~PATTERN
(block
$(send nil? :setup)
(args) _)
PATTERN