Support directory name as a data key
This commit is contained in:
parent
cd539f4e91
commit
1e64e8022e
5 changed files with 40 additions and 9 deletions
|
@ -5,18 +5,23 @@ Feature: Local Data API
|
|||
Given the Server is running at "basic-data-app"
|
||||
When I go to "/data.html"
|
||||
Then I should see "One:Two"
|
||||
|
||||
|
||||
Scenario: Rendering json
|
||||
Given the Server is running at "basic-data-app"
|
||||
When I go to "/data3.html"
|
||||
Then I should see "One:Two"
|
||||
|
||||
|
||||
Scenario: Using data in config.rb
|
||||
Given the Server is running at "data-app"
|
||||
When I go to "/test1.html"
|
||||
Then I should see "Welcome"
|
||||
|
||||
|
||||
Scenario: Using data2 in config.rb
|
||||
Given the Server is running at "data-app"
|
||||
When I go to "/test2.html"
|
||||
Then I should see "Welcome"
|
||||
Then I should see "Welcome"
|
||||
|
||||
Scenario: Using nested data
|
||||
Given the Server is running at "nested-data-app"
|
||||
When I go to "/test.html"
|
||||
Then I should see "test:Hello"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue