Files

14 lines
468 B
Gherkin

Feature: Lock stack
Scenario: lock a stack that exists with a stack policy
Given stack "1/A" exists in "CREATE_COMPLETE" state
and the policy for stack "1/A" is allow all
When the user locks stack "1/A"
Then the policy for stack "1/A" is deny all
Scenario: lock a stack that does not exist
Given stack "1/A" does not exist
When the user locks stack "1/A"
Then a "ClientError" is raised
and the user is told "stack does not exist"