X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4e1dda28351f6b7aa91aa6baca8805e283f2694b..9b6b5f0bd2ad96deeea2070a4eba56795bb28c1a:/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