lib/rubocop/cop/rspec/multiple_subjects.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/multiple_subjects.rb in rubocop-rspec-1.34.0

- old
+ new

@@ -42,10 +42,10 @@ return unless example_group?(node) subjects = RuboCop::RSpec::ExampleGroup.new(node).subjects subjects[0...-1].each do |subject| - add_offense(subject, location: :expression) + add_offense(subject) end end def autocorrect(node) return unless node.method_name.equal?(:subject) # Ignore `subject!`