Skip to content

Commit

Permalink
fix: Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
buntine committed Sep 9, 2024
1 parent 2512033 commit 141254c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def create_comments_and_destroy_post
test "applys ONLY clause on joined relationship with aliased name" do
assert_equal(
"SELECT \"users\".* FROM \"users\" INNER JOIN ONLY \"profiles\" \"bio\" ON \"bio\".\"user_id\" = \"users\".\"id\" WHERE \"bio\".\"id\" = 999",
UserWithTrashedPosts.joins(:bio).where(bio: {id: 999}).to_sql
UserWithTrashedPosts.joins(:bio).where(bio: { id: 999 }).to_sql
)
end
end

0 comments on commit 141254c

Please sign in to comment.