middleman/middleman-core/features/i18n_builder_default.feature
2012-03-10 19:40:04 -08:00

24 lines
881 B
Gherkin

@wip
Feature: Builder Default
In order to preview localized html
Scenario: EN should be at root
Given a built app at "i18n-test-app"
Then "index.html" should exist at "i18n-test-app" and include "Howdy"
Scenario: EN mounted at root should not be in directory
Given a built app at "i18n-test-app"
Then "en/index.html" should not exist at "i18n-test-app"
Scenario: Paths can be localized EN
Given a built app at "i18n-test-app"
Then "hello.html" should exist at "i18n-test-app" and include "Hello World"
Scenario: ES should be under namespace
Given a built app at "i18n-test-app"
Then "es/index.html" should exist at "i18n-test-app" and include "Como Esta?"
Scenario: Paths can be localized ES
Given a built app at "i18n-test-app"
Then "es/hola.html" should exist at "i18n-test-app" and include "Hola World"