X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f5b0542513b572959e39400bae42e69aeb1a7b6..99758c2727edaba1f3931822c94354d94c89396a:/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 f287a11faf..87eb37cde7 100644 --- 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) - 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, @@ -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 - ctr.update_attributes!(runtime_status: {foo: 'bar'}) + ctr.update!(runtime_status: {foo: 'bar'}) end authorize_with :active get :index, params: {