summaryrefslogtreecommitdiff
path: root/features/anonymous.feature
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-18 20:21:04 +0200
committerAzul <azul@riseup.net>2016-05-18 20:21:04 +0200
commit83f59164fc069f2593cf6babbc18638d9a68c9a3 (patch)
treeb357b100bfd40eb098040c4214776a5fb9bbff9b /features/anonymous.feature
parente05a1b0f5ae40a2aa17976b3009cd563b8e4660a (diff)
features for API version 2 - keep old ones
Now we test both api versions. We want this for backwards compatibility.
Diffstat (limited to 'features/anonymous.feature')
-rw-r--r--features/anonymous.feature8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/anonymous.feature b/features/anonymous.feature
index 73a6d3f..d6b3ce2 100644
--- a/features/anonymous.feature
+++ b/features/anonymous.feature
@@ -5,23 +5,23 @@ Feature: Anonymous access to EIP
In this case some endpoints that would normally require authentication
will be available without authentication.
- Background:
+ Background:
Given "allow_anonymous_certs" is enabled in the config
And I set headers:
| Accept | application/json |
| Content-Type | application/json |
Scenario: Fetch configs when anonymous certs are allowed
- When I send a GET request to "/1/configs.json"
+ When I send a GET request to "/2/configs.json"
Then the response status should be "200"
Scenario: Fetch EIP config when anonymous certs are allowed
Given there is a config for the eip
- When I send a GET request to "/1/configs/eip-service.json"
+ When I send a GET request to "/2/configs/eip-service.json"
Then the response status should be "200"
Scenario: Fetch service description
- When I send a GET request to "/1/service.json"
+ When I send a GET request to "/2/service.json"
Then the response status should be "200"
And the response should be:
"""