blob: a3198e7919dcd8c7e1cb63dd264a798f23f30c4a [file] [log] [blame]
description: edit while creating from a list
mode: create
filename: "svc.yaml"
namespace: "edit-test"
expectedStdout:
- service/svc1 created
- service/svc2 created
expectedExitCode: 0
steps:
- type: edit
expectedInput: 0.original
resultingOutput: 0.edited
- type: request
expectedMethod: POST
expectedPath: /api/v1/namespaces/edit-test/services
expectedContentType: application/json
expectedInput: 1.request
resultingStatusCode: 201
resultingOutput: 1.response
- type: edit
expectedInput: 2.original
resultingOutput: 2.edited
- type: request
expectedMethod: POST
expectedPath: /api/v1/namespaces/edit-test/services
expectedContentType: application/json
expectedInput: 3.request
resultingStatusCode: 201
resultingOutput: 3.response