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

- old
+ new

@@ -45,10 +45,9 @@ def check_previous_nodes(node) node.parent.each_child_node do |sibling| if offending?(sibling) add_offense( node, - location: :expression, message: format(MSG, offending: sibling.method_name) ) end break if offending?(sibling) || sibling.equal?(node)