Skip to content
Permalink
Browse files

Added tests cases for array equals

  • Loading branch information...
ankane committed Oct 31, 2019
1 parent 610937f commit f548fd8e3e7670e33be2ba904c929fbae90a8964
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/where_test.rb
@@ -11,6 +11,10 @@ def test_where
]
assert_search "product", ["Product A", "Product B"], where: {in_stock: true}

# arrays
assert_search "product", ["Product A"], where: {user_ids: 2}
assert_search "product", ["Product A", "Product C"], where: {user_ids: [2, 3]}

# due to precision
unless cequel?
# date

0 comments on commit f548fd8

Please sign in to comment.
You can’t perform that action at this time.