spec/project_spec.rb in rubocop-rspec-1.3.1 vs spec/project_spec.rb in rubocop-rspec-1.4.0
- old
+ new
@@ -16,10 +16,10 @@
subject(:default_config) do
RuboCop::ConfigLoader.load_file('config/default.yml')
end
it 'has configuration for all cops' do
- expect(default_config.keys.sort).to eq((cop_names).sort)
+ expect(default_config.keys.sort).to eq(cop_names.sort)
end
it 'has a nicely formatted description for all cops' do
cop_names.each do |name|
description = default_config[name]['Description']