lib/rubocop/capybara/config_formatter.rb in rubocop-capybara-2.18.0 vs lib/rubocop/capybara/config_formatter.rb in rubocop-capybara-2.19.0
- old
+ new
@@ -5,10 +5,10 @@
module RuboCop
module Capybara
# Builds a YAML config file from two config hashes
class ConfigFormatter
EXTENSION_ROOT_DEPARTMENT = %r{^(Capybara/)}.freeze
- SUBDEPARTMENTS = [].freeze
+ SUBDEPARTMENTS = %(Capybara/RSpec)
AMENDMENTS = [].freeze
COP_DOC_BASE_URL = 'https://www.rubydoc.info/gems/rubocop-capybara/RuboCop/Cop/'
def initialize(config, descriptions)
@config = config