spec/rubocop/cop/rspec/nested_groups_spec.rb in rubocop-rspec-1.7.0 vs spec/rubocop/cop/rspec/nested_groups_spec.rb in rubocop-rspec-1.8.0
- old
+ new
@@ -33,10 +33,10 @@
end
end
RUBY
end
- context 'when MaxNesting is configured as 2' do
+ context 'when MaxNesting is configured as 3' do
let(:cop_config) { { 'MaxNesting' => '3' } }
it 'only flags third level of nesting' do
expect_violation(<<-RUBY)
describe MyClass do