11453: Move remote token validation to middleware. Bypass Ruby SDK.
[arvados.git] / services / api / test / unit / container_test.rb
index 0b75974a6225fb1cab90f8a8ae77ea86fe9b3fbe..09373fdc05588ea593a0ff33906484d47be082ef 100644 (file)
@@ -443,6 +443,10 @@ class ContainerTest < ActiveSupport::TestCase
     check_no_change_from_cancelled c
   end
 
+  test "Container queued count" do
+    assert_equal 1, Container.readable_by(users(:active)).where(state: "Queued").count
+  end
+
   test "Container locked cancel" do
     c, _ = minimal_new
     set_user_from_auth :dispatch1