mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
38 lines
No EOL
1.2 KiB
Gherkin
38 lines
No EOL
1.2 KiB
Gherkin
@wip
|
|
Feature: Preview Default
|
|
In order to preview localized html
|
|
|
|
Scenario: EN should be at root
|
|
Given the Server is running at "i18n-test-app"
|
|
When I go to "/"
|
|
Then I should see "Howdy"
|
|
|
|
Scenario: EN should be at root 2
|
|
Given the Server is running at "i18n-test-app"
|
|
When I go to "/index.html"
|
|
Then I should see "Howdy"
|
|
|
|
Scenario: EN mounted at root should not be in directory
|
|
Given the Server is running at "i18n-test-app"
|
|
When I go to "/en/index.html"
|
|
Then I should see "File Not Found"
|
|
|
|
Scenario: Paths can be localized EN
|
|
Given the Server is running at "i18n-test-app"
|
|
When I go to "/hello.html"
|
|
Then I should see "Hello World"
|
|
|
|
Scenario: ES should be under namespace
|
|
Given the Server is running at "i18n-test-app"
|
|
When I go to "/es/"
|
|
Then I should see "Como Esta?"
|
|
|
|
Scenario: ES should be under namespace 2
|
|
Given the Server is running at "i18n-test-app"
|
|
When I go to "/es/index.html"
|
|
Then I should see "Como Esta?"
|
|
|
|
Scenario: Paths can be localized ES
|
|
Given the Server is running at "i18n-test-app"
|
|
When I go to "/es/hola.html"
|
|
Then I should see "Hola World" |