mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
18 lines
No EOL
544 B
Gherkin
18 lines
No EOL
544 B
Gherkin
Feature: Preview Changes
|
|
In order to run quickly, we should update internal caches on file changes
|
|
|
|
Scenario: A template changes contents during preview
|
|
Given the Server is running at "preview-app"
|
|
And the file "source/content.html.erb" has the contents
|
|
"""
|
|
Hello World
|
|
"""
|
|
When I go to "/content.html"
|
|
Then I should see "Hello World"
|
|
And the file "source/content.html.erb" has the contents
|
|
"""
|
|
Hola Mundo
|
|
"""
|
|
When I go to "/content.html"
|
|
Then I should see "Hola Mundo"
|
|
|