middleman/middleman-core/features/i18n_v3_force_locale.feature

14 lines
498 B
Gherkin
Raw Normal View History

2014-03-28 21:54:54 +01:00
Feature: i18n v3 manually setting locale
Scenario: Setting I18n.locale in a block (see issue #809) or with the :lang option
2014-03-28 21:54:54 +01:00
Given the Server is running at "i18n-v3-force-locale"
When I go to "/en/index.html"
Then I should see "Hello"
Then I should see "I18n.locale: en"
When I go to "/es/index.html"
Then I should see "Hola"
Then I should see "I18n.locale: es"
When I go to "/fr/index.html"
Then I should see "Bonjour"
Then I should see "I18n.locale: fr"