lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.29.1 vs lib/rubocop/cop/rspec/cop.rb in rubocop-rspec-1.30.0
- old
+ new
@@ -77,9 +77,10 @@
.for_all_cops
end
def rspec_pattern_config?
return unless all_cops_config.key?('RSpec')
+
all_cops_config.fetch('RSpec').key?('Patterns')
end
def rspec_pattern_config
all_cops_config