spec/rubocop/cop/rspec/nested_groups_spec.rb in rubocop-rspec-1.16.0 vs spec/rubocop/cop/rspec/nested_groups_spec.rb in rubocop-rspec-1.17.0

- old
+ new

@@ -54,10 +54,10 @@ context 'when configured with MaxNesting' do let(:cop_config) { { 'MaxNesting' => '1' } } it 'emits a deprecation warning' do - expect { inspect_source(cop, 'describe(Foo) { }', 'foo_spec.rb') } + expect { inspect_source('describe(Foo) { }', 'foo_spec.rb') } .to output( 'Configuration key `MaxNesting` for RSpec/NestedGroups is ' \ "deprecated in favor of `Max`. Please use that instead.\n" ).to_stderr end