summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorNuo Yan <nuo@opscode.com>2010-09-06 11:38:02 -0700
committerSeth Falcon <seth@opscode.com>2010-11-01 10:46:59 -0700
commitde163da34269d2bf80180cbac8490de9d0d9c7e8 (patch)
tree090cc36505ed5c39249ffa32c36f016883b4ffc3 /features
parentfd78aafcd68692a522e1dccde4eab3b657aa6b78 (diff)
downloadchef-de163da34269d2bf80180cbac8490de9d0d9c7e8.tar.gz
roles, environment specific run_list reset
Diffstat (limited to 'features')
-rw-r--r--features/api/roles/show_roles_api.feature5
1 files changed, 3 insertions, 2 deletions
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