Skip to content

Commit

Permalink
Add test to by_user by login
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jan 28, 2025
1 parent 8a4870b commit 507651d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/classes/query/names_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def test_name_in_set
def test_name_by_user
assert_query(Name.index_order.where(user: mary).with_correct_spelling,
:Name, by_user: mary)
assert_query(Name.index_order.where(user: mary).with_correct_spelling,
:Name, by_user: "mary")
assert_query(Name.index_order.where(user: dick).with_correct_spelling,
:Name, by_user: dick)
assert_query(Name.index_order.where(user: rolf).with_correct_spelling,
Expand Down

0 comments on commit 507651d

Please sign in to comment.