2018-07-09 14:51:01 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: dc / kvs / trailing slash
|
|
|
|
Scenario: I have 10 folders
|
|
|
|
Given 1 datacenter model with the value "datacenter"
|
|
|
|
And 10 kv models from yaml
|
|
|
|
When I visit the kvs page for yaml
|
|
|
|
---
|
|
|
|
dc: datacenter
|
|
|
|
kv: foo/bar
|
|
|
|
---
|
2018-07-11 09:44:37 +00:00
|
|
|
Then the url should be /datacenter/kv/foo/bar/
|
2018-07-09 14:51:01 +00:00
|
|
|
And the last GET request was made to "/v1/kv/foo/bar/?keys&dc=datacenter&separator=%2F"
|
|
|
|
When I visit the kvs page for yaml
|
|
|
|
---
|
|
|
|
dc: datacenter
|
|
|
|
kv: foo/bar/
|
|
|
|
---
|
|
|
|
Then the url should be /datacenter/kv/foo/bar/
|
|
|
|
And the last GET request was made to "/v1/kv/foo/bar/?keys&dc=datacenter&separator=%2F"
|