From 3dcd7ad9057d5ca38b1a4177a565b33a3ad5f987 Mon Sep 17 00:00:00 2001 From: amartynov Date: Mon, 23 Jun 2014 12:52:31 +0400 Subject: [PATCH] flavor test: unknown provider --- devops-service/features/flavor.feature | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/devops-service/features/flavor.feature b/devops-service/features/flavor.feature index 0401ab5..e4c1952 100644 --- a/devops-service/features/flavor.feature +++ b/devops-service/features/flavor.feature @@ -1,6 +1,7 @@ -Feature: flavors +@flavor +Feature: Flavors - @flavor + @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'