lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -22,10 +22,10 @@
MSG = "Don't use `be` without an argument."
RESTRICT_ON_SEND = Runners.all
# @!method be_without_args(node)
- def_node_matcher :be_without_args, <<-PATTERN
+ def_node_matcher :be_without_args, <<~PATTERN
(send _ #Runners.all $(send nil? :be))
PATTERN
def on_send(node)
be_without_args(node) do |matcher|