lib/rubocop/rspec.rb in rubocop-rspec-1.8.0 vs lib/rubocop/rspec.rb in rubocop-rspec-1.9.0

- old
+ new

@@ -3,8 +3,8 @@ module RSpec PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze CONFIG = YAML.load(CONFIG_DEFAULT.read).freeze - private_constant(*constants(false)) + private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT) end end