projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20831: Fix tests
[arvados.git]
/
services
/
api
/
test
/
functional
/
arvados
/
v1
/
container_requests_controller_test.rb
diff --git
a/services/api/test/functional/arvados/v1/container_requests_controller_test.rb
b/services/api/test/functional/arvados/v1/container_requests_controller_test.rb
index f287a11fafe6d0bc95917647624de813bbf4e3d4..87eb37cde732b220fe17cd719e299b6c723bcdfc 100644
(file)
--- a/
services/api/test/functional/arvados/v1/container_requests_controller_test.rb
+++ b/
services/api/test/functional/arvados/v1/container_requests_controller_test.rb
@@
-103,7
+103,7
@@
class Arvados::V1::ContainerRequestsControllerTest < ActionController::TestCase
test "update without deleting secret_mounts" do
authorize_with :active
req = container_requests(:uncommitted)
test "update without deleting secret_mounts" do
authorize_with :active
req = container_requests(:uncommitted)
- req.update
_attributes
!(secret_mounts: {'/foo' => {'kind' => 'json', 'content' => 'bar'}})
+ req.update!(secret_mounts: {'/foo' => {'kind' => 'json', 'content' => 'bar'}})
patch :update, params: {
id: req.uuid,
patch :update, params: {
id: req.uuid,
@@
-169,7
+169,7
@@
class Arvados::V1::ContainerRequestsControllerTest < ActionController::TestCase
test "filter on container subproperty runtime_status[foo] = bar" do
ctr = containers(:running)
act_as_system_user do
test "filter on container subproperty runtime_status[foo] = bar" do
ctr = containers(:running)
act_as_system_user do
- ctr.update
_attributes
!(runtime_status: {foo: 'bar'})
+ ctr.update!(runtime_status: {foo: 'bar'})
end
authorize_with :active
get :index, params: {
end
authorize_with :active
get :index, params: {