spec/rubocop/cop/rspec/multiple_subjects_spec.rb in rubocop-rspec-1.16.0 vs spec/rubocop/cop/rspec/multiple_subjects_spec.rb in rubocop-rspec-1.17.0
- old
+ new
@@ -27,10 +27,10 @@
subject! { a }
subject! { b }
end
RUBY
- expect(autocorrect_source(cop, source, 'example_spec.rb')).to eql(source)
+ expect(autocorrect_source(source, 'example_spec.rb')).to eql(source)
end
it 'does not flag shared example groups' do
expect_no_offenses(<<-RUBY)
describe Foo do