From de163da34269d2bf80180cbac8490de9d0d9c7e8 Mon Sep 17 00:00:00 2001 From: Nuo Yan Date: Mon, 6 Sep 2010 11:38:02 -0700 Subject: roles, environment specific run_list reset --- features/api/roles/show_roles_api.feature | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'features') diff --git a/features/api/roles/show_roles_api.feature b/features/api/roles/show_roles_api.feature index eb8ab6fe1c..8ef5c7dc45 100644 --- a/features/api/roles/show_roles_api.feature +++ b/features/api/roles/show_roles_api.feature @@ -24,9 +24,10 @@ Feature: Show a role via the REST API Scenario: Show an environment specific run list and attribuets in a role Given I am an administrator + And an 'environment' named 'cucumber' exists And a 'role' named 'webserver' exists - When I 'GET' the path '/roles/webserver/environments/_default' - Then the inflated response should respond to 'run_list' with 'role[webserver], role[base]' + When I 'GET' the path '/roles/webserver/environments/cucumber' + Then the inflated response should respond to 'run_list' with 'role[db]' Scenario: List environments in the role Given I am an administrator -- cgit v1.2.1