Skip to content

Commit

Permalink
Make CollectionProxy test valid
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan McCarthy <[email protected]>
  • Loading branch information
ryanmccarthypdx committed Jun 24, 2024
1 parent 8db4f20 commit efe6db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/nested_render_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_queries_with_auto
end

def test_queries_for_collection_proxies
ProjectBlueprint.render(@test_customer.projects.strict_loading, view: :extended_plus_with_widgets)
ProjectBlueprint.render(@test_customer.projects, view: :extended_plus_with_widgets)
assert_equal [
'SELECT "projects".* FROM "projects" WHERE "projects"."customer_id" = ?',
'SELECT "widgets".* FROM "widgets" WHERE "widgets"."project_id" IN (?, ?)'
Expand Down

0 comments on commit efe6db4

Please sign in to comment.