Merge branch 'master' of git.clinicalfuture.com:arvados
[arvados.git] / services / api / test / functional / arvados / v1 / collections_controller_test.rb
index fdc09096d2446a410cfd18950e6492adde3fa115..6990e97413e031edeaf649d3d6e22cc89bd3cc7c 100644 (file)
@@ -216,7 +216,7 @@ EOS
     }
     assert_response :success
     found = assigns(:objects).collect(&:uuid)
-    assert_equal 1, assigns(:objects).count
+    assert_equal 1, found.count
     assert_equal true, !!found.index('1f4b0bc7583c2a7f9102c395f4ffc5e3+45')
   end