Add build-mode test cases to see if #1068 occurs
This commit is contained in:
parent
9e8a16cd6d
commit
c500039197
|
@ -6,11 +6,25 @@ Feature: Built-in auto_javascript_include_tag view helper
|
||||||
When I go to "/auto-js.html"
|
When I go to "/auto-js.html"
|
||||||
Then I should see "javascripts/auto-js.js"
|
Then I should see "javascripts/auto-js.js"
|
||||||
|
|
||||||
|
Scenario: Viewing the root path (build mode)
|
||||||
|
Given a successfully built app at "auto-js-app"
|
||||||
|
When I cd to "build"
|
||||||
|
Then the following files should exist:
|
||||||
|
| auto-js.html |
|
||||||
|
And the file "auto-js.html" should contain "javascripts/auto-js.js"
|
||||||
|
|
||||||
Scenario: Viewing a tier-1 path
|
Scenario: Viewing a tier-1 path
|
||||||
Given the Server is running at "auto-js-app"
|
Given the Server is running at "auto-js-app"
|
||||||
When I go to "/auto-js/auto-js.html"
|
When I go to "/auto-js/auto-js.html"
|
||||||
Then I should see "javascripts/auto-js/auto-js.js"
|
Then I should see "javascripts/auto-js/auto-js.js"
|
||||||
|
|
||||||
|
Scenario: Viewing a tier-1 path (build mode)
|
||||||
|
Given a successfully built app at "auto-js-app"
|
||||||
|
When I cd to "build"
|
||||||
|
Then the following files should exist:
|
||||||
|
| auto-js/auto-js.html |
|
||||||
|
And the file "auto-js/auto-js.html" should contain "javascripts/auto-js/auto-js.js"
|
||||||
|
|
||||||
Scenario: Viewing the index file of a tier-1 path, without filename
|
Scenario: Viewing the index file of a tier-1 path, without filename
|
||||||
Given the Server is running at "auto-js-app"
|
Given the Server is running at "auto-js-app"
|
||||||
When I go to "/auto-js"
|
When I go to "/auto-js"
|
||||||
|
@ -25,3 +39,10 @@ Feature: Built-in auto_javascript_include_tag view helper
|
||||||
Given the Server is running at "auto-js-app"
|
Given the Server is running at "auto-js-app"
|
||||||
When I go to "/auto-js/sub/auto-js.html"
|
When I go to "/auto-js/sub/auto-js.html"
|
||||||
Then I should see "javascripts/auto-js/sub/auto-js.js"
|
Then I should see "javascripts/auto-js/sub/auto-js.js"
|
||||||
|
|
||||||
|
Scenario: Viewing a tier-2 path (build mode)
|
||||||
|
Given a successfully built app at "auto-js-app"
|
||||||
|
When I cd to "build"
|
||||||
|
Then the following files should exist:
|
||||||
|
| auto-js/sub/auto-js.html |
|
||||||
|
And the file "auto-js/sub/auto-js.html" should contain "javascripts/auto-js/sub/auto-js.js"
|
|
@ -6,11 +6,25 @@ Feature: Built-in auto_stylesheet_link_tag view helper
|
||||||
When I go to "/auto-css.html"
|
When I go to "/auto-css.html"
|
||||||
Then I should see "stylesheets/auto-css.css"
|
Then I should see "stylesheets/auto-css.css"
|
||||||
|
|
||||||
|
Scenario: Viewing the root path (build mode)
|
||||||
|
Given a successfully built app at "auto-css-app"
|
||||||
|
When I cd to "build"
|
||||||
|
Then the following files should exist:
|
||||||
|
| auto-css.html |
|
||||||
|
And the file "auto-css.html" should contain "stylesheets/auto-css.css"
|
||||||
|
|
||||||
Scenario: Viewing a tier-1 path
|
Scenario: Viewing a tier-1 path
|
||||||
Given the Server is running at "auto-css-app"
|
Given the Server is running at "auto-css-app"
|
||||||
When I go to "/auto-css/auto-css.html"
|
When I go to "/auto-css/auto-css.html"
|
||||||
Then I should see "stylesheets/auto-css/auto-css.css"
|
Then I should see "stylesheets/auto-css/auto-css.css"
|
||||||
|
|
||||||
|
Scenario: Viewing a tier-1 path (build mode)
|
||||||
|
Given a successfully built app at "auto-css-app"
|
||||||
|
When I cd to "build"
|
||||||
|
Then the following files should exist:
|
||||||
|
| auto-css/auto-css.html |
|
||||||
|
And the file "auto-css/auto-css.html" should contain "stylesheets/auto-css/auto-css.css"
|
||||||
|
|
||||||
Scenario: Viewing the index file of a tier-1 path, without filename
|
Scenario: Viewing the index file of a tier-1 path, without filename
|
||||||
Given the Server is running at "auto-css-app"
|
Given the Server is running at "auto-css-app"
|
||||||
When I go to "/auto-css"
|
When I go to "/auto-css"
|
||||||
|
@ -25,3 +39,10 @@ Feature: Built-in auto_stylesheet_link_tag view helper
|
||||||
Given the Server is running at "auto-css-app"
|
Given the Server is running at "auto-css-app"
|
||||||
When I go to "/auto-css/sub/auto-css.html"
|
When I go to "/auto-css/sub/auto-css.html"
|
||||||
Then I should see "stylesheets/auto-css/sub/auto-css.css"
|
Then I should see "stylesheets/auto-css/sub/auto-css.css"
|
||||||
|
|
||||||
|
Scenario: Viewing a tier-2 path (build mode)
|
||||||
|
Given a successfully built app at "auto-css-app"
|
||||||
|
When I cd to "build"
|
||||||
|
Then the following files should exist:
|
||||||
|
| auto-css/sub/auto-css.html |
|
||||||
|
And the file "auto-css/sub/auto-css.html" should contain "stylesheets/auto-css/sub/auto-css.css"
|
||||||
|
|
Loading…
Reference in a new issue