spec/rubocop/cop/rspec/nested_groups_spec.rb in rubocop-rspec-1.30.0 vs spec/rubocop/cop/rspec/nested_groups_spec.rb in rubocop-rspec-1.30.1
- old
+ new
@@ -32,10 +32,10 @@
end
end
end
RUBY
- expect(cop.config_to_allow_offenses).to eq('Max' => 4)
+ expect(cop.config_to_allow_offenses[:exclude_limit]).to eq('Max' => 4)
end
it 'ignores non-spec context methods' do
expect_no_offenses(<<-RUBY)
class MyThingy