summaryrefslogtreecommitdiff
path: root/features/unauthenticated.feature
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-17 11:55:31 +0200
committerAzul <azul@leap.se>2014-07-17 11:58:10 +0200
commite86cccb4b89540f3bd403110d051b2723be781b9 (patch)
treed16f7e3bf15c45dc8f54a735e710573b532fa8e9 /features/unauthenticated.feature
parentd19e748ab10c0f119a84a0d7c9a1560e246b7505 (diff)
cuke: drop jsonpath, use simple keys instead
Also fixed the test for login_required
Diffstat (limited to 'features/unauthenticated.feature')
-rw-r--r--features/unauthenticated.feature6
1 files changed, 2 insertions, 4 deletions
diff --git a/features/unauthenticated.feature b/features/unauthenticated.feature
index b810bea..120274b 100644
--- a/features/unauthenticated.feature
+++ b/features/unauthenticated.feature
@@ -24,8 +24,6 @@ Feature: Unauthenticated API endpoints
Scenario: Authentication required for all other API endpoints
When I send a GET request to "/1/configs"
Then the response status should be "401"
- And the response should be:
- """
- {"error": "Please log in to perform that action."}
- """
+ And the response should have "error" with "not_authorized_login"
+ And the response should have "message"