projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
11453: Move remote token validation to middleware. Bypass Ruby SDK.
[arvados.git]
/
services
/
api
/
test
/
unit
/
container_test.rb
diff --git
a/services/api/test/unit/container_test.rb
b/services/api/test/unit/container_test.rb
index 0b75974a6225fb1cab90f8a8ae77ea86fe9b3fbe..09373fdc05588ea593a0ff33906484d47be082ef 100644
(file)
--- a/
services/api/test/unit/container_test.rb
+++ b/
services/api/test/unit/container_test.rb
@@
-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