Add specific test for #1556
This commit is contained in:
parent
dfa389bde4
commit
d22bd914ae
|
@ -31,6 +31,7 @@ Feature: Dynamic Pages
|
||||||
| should_be_ignored6.html |
|
| should_be_ignored6.html |
|
||||||
| should_be_ignored7.html |
|
| should_be_ignored7.html |
|
||||||
| should_be_ignored8.html |
|
| should_be_ignored8.html |
|
||||||
|
| should_be_ignored9.html |
|
||||||
|
|
||||||
Scenario: Preview basic proxy
|
Scenario: Preview basic proxy
|
||||||
Given the Server is running at "dynamic-pages-app"
|
Given the Server is running at "dynamic-pages-app"
|
||||||
|
@ -131,3 +132,5 @@ Feature: Dynamic Pages
|
||||||
Then I should see "File Not Found"
|
Then I should see "File Not Found"
|
||||||
When I go to "/should_be_ignored8.html"
|
When I go to "/should_be_ignored8.html"
|
||||||
Then I should see "File Not Found"
|
Then I should see "File Not Found"
|
||||||
|
When I go to "/should_be_ignored9.html"
|
||||||
|
Then I should see "File Not Found"
|
||||||
|
|
|
@ -28,3 +28,7 @@ page "fake/*", locals: { glob_var: "I am one glob" }
|
||||||
page "fake2/*", locals: { glob_var: "I am two glob" }
|
page "fake2/*", locals: { glob_var: "I am two glob" }
|
||||||
page "fake3/*", locals: { glob_var: "I am three glob" }
|
page "fake3/*", locals: { glob_var: "I am three glob" }
|
||||||
page "fake4/*", locals: { glob_var: "I am four glob" }
|
page "fake4/*", locals: { glob_var: "I am four glob" }
|
||||||
|
|
||||||
|
["tom", "dick", "harry"].each do |name|
|
||||||
|
proxy "/about/#{name}.html", "/should_be_ignored9.html", locals: { person_name: name }, ignore: true
|
||||||
|
end
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<h1>Ignore me! 9</h1>
|
Loading…
Reference in a new issue