X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0e9e78ad4e32fb3a14c6e83091efdbe96f2f03d6..014f72fcdac2b26f9f2bbf257707eb59c676eebb:/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