Logo: Relish

  1. Sign in

Project: Middleman-core

Preview Subset

In order to preview localized html

Scenarios
EN should be at root
Given
the Server is running at "subset-app"
When
I go to "/"
Then
I should see "Howdy"
EN should be at root 2
Given
the Server is running at "subset-app"
When
I go to "/index.html"
Then
I should see "Howdy"
EN mounted at root should not be in directory
Given
the Server is running at "subset-app"
When
I go to "/en/index.html"
Then
I should see "File Not Found"
Paths can be localized EN
Given
the Server is running at "subset-app"
When
I go to "/hello.html"
Then
I should see "Hello World"
ES should be under namespace
Given
the Server is running at "subset-app"
When
I go to "/es/"
Then
I should see "File Not Found"
ES should be under namespace 2
Given
the Server is running at "subset-app"
When
I go to "/es/index.html"
Then
I should see "File Not Found"
Paths can be localized ES
Given
the Server is running at "subset-app"
When
I go to "/es/hola.html"
Then
I should see "File Not Found"

Last published about 5 years ago by middleman.