lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -40,10 +40,10 @@
#
# # good
# my_class_spec.rb # describe MyClass, '#method'
#
class FilePath < Cop
- include RuboCop::RSpec::SpecOnly, RuboCop::RSpec::TopLevelDescribe
+ include RuboCop::RSpec::TopLevelDescribe
MESSAGE = 'Spec path should end with `%s`'.freeze
ROUTING_PAIR = s(:pair, s(:sym, :type), s(:sym, :routing))
def on_top_level_describe(node, args)