3171: Merge branch 'master' into 3171-group-membership
[arvados.git] / services / api / test / integration / select_test.rb
index 69ac9143159e9cbf4441a6274b37b7a45eecfac2..a7bd545179813dcad92485b09f3e1a39c20c9927 100644 (file)
@@ -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