spec/shared/detects_style_behavior.rb in rubocop-rspec-1.16.0 vs spec/shared/detects_style_behavior.rb in rubocop-rspec-1.17.0

- old
+ new

@@ -1,7 +1,7 @@ RSpec.shared_examples 'detects style' do |source, style, filename: 'x_spec.rb'| it 'generates a todo based on the detected style' do - inspect_source(cop, source, filename) + inspect_source(source, filename) expect(cop.config_to_allow_offenses).to eq('EnforcedStyle' => style) end end