lib/rubocop/cop/rspec/describe_method.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/describe_method.rb in rubocop-rspec-2.0.1
- old
+ new
@@ -17,10 +17,10 @@
# describe MyClass, '.my_class_method' do
# end
class DescribeMethod < Base
include TopLevelGroup
- MSG = 'The second argument to describe should be the method '\
+ MSG = 'The second argument to describe should be the method ' \
"being tested. '#instance' or '.class'."
def_node_matcher :second_argument, <<~PATTERN
(block
(send #rspec? :describe _first_argument $(str _) ...) ...