lib/rubocop/cop/rspec/describe_method.rb in rubocop-rspec-1.15.0 vs lib/rubocop/cop/rspec/describe_method.rb in rubocop-rspec-1.15.1
- old
+ new
@@ -15,11 +15,11 @@
# end
#
# describe MyClass, '.my_class_method' do
# end
class DescribeMethod < Cop
- include RuboCop::RSpec::TopLevelDescribe,
- RuboCop::RSpec::Util
+ include RuboCop::RSpec::TopLevelDescribe
+ include RuboCop::RSpec::Util
MSG = 'The second argument to describe should be the method '\
"being tested. '#instance' or '.class'.".freeze
METHOD_STRING_MATCHER = /\A[\#\.].+/