20 lines
		
	
	
		
			790 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			790 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| @stack @project
 | |
| Feature: Delete stack
 | |
| 
 | |
|   <% openstack_stack_id = @fixtures['stack']['openstack']['valid']['id'] %>
 | |
|   Scenario: Delete stack with user without privileges
 | |
|     When I send DELETE '/v2.0/stack/<%= openstack_stack_id %>' query with user without privileges
 | |
|     Then response should be '401'
 | |
| 
 | |
| 	@openstack
 | |
|   Scenario: Delete openstack stack without header 'Accept'
 | |
|     When I send DELETE '/v2.0/stack/<%= openstack_stack_id %>' query without header 'Accept'
 | |
|     Then response should be '406'
 | |
| 
 | |
|   @openstack
 | |
|   Scenario: Delete stack with id '<%= openstack_stack_id %>'
 | |
|     When I send DELETE '/v2.0/stack/<%= openstack_stack_id %>' query
 | |
|     Then response should be '200'
 | |
|     And the Content-Type header should include 'application/json'
 | |
|     And the JSON response should be an object
 | 
