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