spec/rubocop/cop/rspec/leading_subject_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/cop/rspec/leading_subject_spec.rb in rubocop-rspec-1.13.0

- old
+ new

@@ -7,10 +7,10 @@ expect_violation(<<-RUBY) RSpec.describe User do let(:params) { foo } subject { described_class.new } - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Declare `subject` above any other `let` declarations + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Declare `subject` above any other `let` declarations. end RUBY end it 'approves of subject above let' do