lib/rubocop/cop/capybara/specific_actions.rb in rubocop-capybara-2.20.0 vs lib/rubocop/cop/capybara/specific_actions.rb in rubocop-capybara-2.21.0
- old
+ new
@@ -26,10 +26,10 @@
'button' => 'button',
'a' => 'link'
}.freeze
# @!method click_on_selector(node)
- def_node_matcher :click_on_selector, <<-PATTERN
+ def_node_matcher :click_on_selector, <<~PATTERN
(send _ :find (str $_) ...)
PATTERN
def on_send(node)
click_on_selector(node.receiver) do |arg|