From a4fa778f27fa21cdd2546cf4aa8e7918582cbaf3 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Tue, 2 Aug 2022 11:52:53 +0900 Subject: [PATCH] Fix a build error This commit fixes the following build error. ```console % bundle exec rubocop -a (snip) Offenses: spec/rubocop/cop/rails/where_missing_spec.rb:258:5: C: [Correctable] Layout/RedundantLineBreak: Redundant line break detected. it 'does not register an offense when ' \ ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 267 files inspected, 1 offense detected, 1 offense autocorrectable ``` --- spec/rubocop/cop/rails/where_missing_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/rubocop/cop/rails/where_missing_spec.rb b/spec/rubocop/cop/rails/where_missing_spec.rb index 960ec9f539..6c83275573 100644 --- a/spec/rubocop/cop/rails/where_missing_spec.rb +++ b/spec/rubocop/cop/rails/where_missing_spec.rb @@ -255,8 +255,7 @@ def test RUBY end - it 'does not register an offense when ' \ - '`left_joins` and `where` argument is not same relationship' do + it 'does not register an offense when `left_joins` and `where` argument is not same relationship' do expect_no_offenses(<<~RUBY) Foo.left_joins(:foo).where(bazs: { id: nil }) Foo.left_joins(:foobar).where(foo: { id: nil })