diff options
author | Chris Walters <cw@opscode.com> | 2010-11-02 15:35:35 -0700 |
---|---|---|
committer | Chris Walters <cw@opscode.com> | 2010-11-02 15:35:35 -0700 |
commit | 9b87491f18e3395c67e2a73104ef1e52695f8af7 (patch) | |
tree | c0b7372e6681ef5e14158e6bd8ed2fb1165808a5 | |
parent | 5acf28d56831d2607dcc4488b95d298e37dd4dc5 (diff) | |
download | chef-9b87491f18e3395c67e2a73104ef1e52695f8af7.tar.gz |
And more tests marked @oss_only
-rw-r--r-- | features/api/clients/show_client_api.feature | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/api/clients/show_client_api.feature b/features/api/clients/show_client_api.feature index e8aae54607..360284141c 100644 --- a/features/api/clients/show_client_api.feature +++ b/features/api/clients/show_client_api.feature @@ -3,7 +3,8 @@ Feature: Show a client via the REST API In order to know what the details are for a client As a Developer I want to show the details for a specific client - + + @oss_only Scenario: Show a client Given I am an administrator And a 'client' named 'isis' exists @@ -23,6 +24,7 @@ Feature: Show a client via the REST API When I 'GET' the path '/clients/isis' using a wrong private key Then I should get a '401 "Unauthorized"' exception + @oss_only Scenario: Show a client when you are not an admin Given I am a non-admin And a 'client' named 'isis' exists |