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 })