X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3cb494b4438c9b59d2ac6b233dccb0d92c4982e8..7c2d7b25747a06919e8ec64f0b4391c33092d965:/services/api/test/integration/select_test.rb diff --git a/services/api/test/integration/select_test.rb b/services/api/test/integration/select_test.rb index 69ac914315..a7bd545179 100644 --- a/services/api/test/integration/select_test.rb +++ b/services/api/test/integration/select_test.rb @@ -18,7 +18,8 @@ class SelectTest < ActionDispatch::IntegrationTest assert_response :success distinct = json_response['items'] - assert distinct.count < links.count, "distinct count should be less than link count" + assert_operator(distinct.count, :<, links.count, + "distinct count should be less than link count") assert_equal links.uniq.count, distinct.count end