Merge branch 'master' into 2449-keep-write-blocks
[arvados.git] / services / api / test / functional / arvados / v1 / jobs_controller_test.rb
index a8a4f85b5f1e0ac70aa1c89a4abffa009308a8fd..9904c833c8ca7ae6841d7e3dbbd440c48607b291 100644 (file)
@@ -223,7 +223,8 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase
     }
     assert_response :success
     found = assigns(:objects).collect(&:uuid)
-    assert_equal true, !!found.index('zzzzz-8i9sb-pshmckwoma9plh7')
+    assert_equal 0, found.index('zzzzz-8i9sb-pshmckwoma9plh7')
+    assert_equal 1, found.count
   end
 
   test "search jobs by nonexistent column with < query" do