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

- old
+ new

@@ -32,11 +32,10 @@ # it { expect_something_else } # class LeadingSubject < Cop include RangeHelp - MSG = 'Declare `subject` above any other `%<offending>s` ' \ - 'declarations.'.freeze + MSG = 'Declare `subject` above any other `%<offending>s` declarations.' def on_block(node) return unless subject?(node) && !in_spec_block?(node) check_previous_nodes(node)