lib/rubocop/cop/rspec/describe_method.rb in rubocop-rspec-2.0.0.pre vs lib/rubocop/cop/rspec/describe_method.rb in rubocop-rspec-2.0.0

- old
+ new

@@ -15,10 +15,10 @@ # end # # describe MyClass, '.my_class_method' do # end class DescribeMethod < Base - include RuboCop::RSpec::TopLevelGroup + include TopLevelGroup MSG = 'The second argument to describe should be the method '\ "being tested. '#instance' or '.class'." def_node_matcher :second_argument, <<~PATTERN