X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b4b8de21d5c324264b8473446e52e2f595df9039..2130de30acf0a3b89e06494f957aacb350c15067:/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 b2cd366540..282e09049e 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 @@ -32,7 +32,7 @@ class Arvados::V1::ContainerRequestsControllerTest < ActionController::TestCase post :create, { container_request: minimal_cr.merge( - secret_mounts: {'/foo' => {'type' => 'json', 'content' => 'bar'}}), + secret_mounts: {'/foo' => {'kind' => 'json', 'content' => 'bar'}}), } assert_response :success @@ -50,7 +50,7 @@ class Arvados::V1::ContainerRequestsControllerTest < ActionController::TestCase patch :update, { id: req.uuid, container_request: { - secret_mounts: {'/foo' => {'type' => 'json', 'content' => 'bar'}}, + secret_mounts: {'/foo' => {'kind' => 'json', 'content' => 'bar'}}, }, } assert_response :success @@ -65,7 +65,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' => {'type' => 'json', 'content' => 'bar'}}) + req.update_attributes!(secret_mounts: {'/foo' => {'kind' => 'json', 'content' => 'bar'}}) patch :update, { id: req.uuid,