flavor test: unknown provider

This commit is contained in:
amartynov 2014-06-23 12:52:31 +04:00
parent 2b18cefb82
commit 3dcd7ad905

View File

@ -1,6 +1,7 @@
Feature: flavors
@flavor
Feature: Flavors
@openstack
Scenario: Get list of openstack flavors
When I send GET '/v2.0/flavors/openstack' query
Then response should be '200'
@ -18,7 +19,7 @@ Feature: flavors
]
"""
@flavor
@ec2
Scenario: Get list of ec2 flavors
When I send GET '/v2.0/flavors/ec2' query
Then response should be '200'
@ -37,7 +38,7 @@ Feature: flavors
]
"""
@flavor
@static
Scenario: Get list of static flavors
When I send GET '/v2.0/flavors/static' query
Then response should be '200'
@ -45,3 +46,6 @@ Feature: flavors
And the JSON response should be an array
And response array should be empty
Scenario: Get flavors list of unknown provider
When I send GET '/v2.0/flavors/foo' query
Then response should be '404'