Skip to content

Commit a4fa778

Browse files
committed
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 ```
1 parent 3b69c61 commit a4fa778

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/rubocop/cop/rails/where_missing_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@ def test
255255
RUBY
256256
end
257257

258-
it 'does not register an offense when ' \
259-
'`left_joins` and `where` argument is not same relationship' do
258+
it 'does not register an offense when `left_joins` and `where` argument is not same relationship' do
260259
expect_no_offenses(<<~RUBY)
261260
Foo.left_joins(:foo).where(bazs: { id: nil })
262261
Foo.left_joins(:foobar).where(foo: { id: nil })

0 commit comments

Comments
 (0)