mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixed Autoroute Specflow test.
This commit is contained in:
@@ -19,7 +19,7 @@ Scenario: I can create and publish a new Home Page
|
|||||||
And I fill in
|
And I fill in
|
||||||
| name | value |
|
| name | value |
|
||||||
| Title.Title | Foo |
|
| Title.Title | Foo |
|
||||||
| Autoroute.PromoteToHomePage | True |
|
| AutoroutePart.PromoteToHomePage | True |
|
||||||
And I hit "Publish Now"
|
And I hit "Publish Now"
|
||||||
And I go to "/"
|
And I go to "/"
|
||||||
Then I should see "<h1[^>]*>.*?Foo.*?</h1>"
|
Then I should see "<h1[^>]*>.*?Foo.*?</h1>"
|
||||||
|
4
src/Orchard.Specs/Autoroute.feature.cs
generated
4
src/Orchard.Specs/Autoroute.feature.cs
generated
@@ -3,7 +3,7 @@
|
|||||||
// This code was generated by SpecFlow (http://www.specflow.org/).
|
// This code was generated by SpecFlow (http://www.specflow.org/).
|
||||||
// SpecFlow Version:1.9.0.77
|
// SpecFlow Version:1.9.0.77
|
||||||
// SpecFlow Generator Version:1.9.0.0
|
// SpecFlow Generator Version:1.9.0.0
|
||||||
// Runtime Version:4.0.30319.34014
|
// Runtime Version:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
@@ -114,7 +114,7 @@ this.ScenarioSetup(scenarioInfo);
|
|||||||
"Title.Title",
|
"Title.Title",
|
||||||
"Foo"});
|
"Foo"});
|
||||||
table2.AddRow(new string[] {
|
table2.AddRow(new string[] {
|
||||||
"Autoroute.PromoteToHomePage",
|
"AutoroutePart.PromoteToHomePage",
|
||||||
"True"});
|
"True"});
|
||||||
#line 19
|
#line 19
|
||||||
testRunner.And("I fill in", ((string)(null)), table2, "And ");
|
testRunner.And("I fill in", ((string)(null)), table2, "And ");
|
||||||
|
Reference in New Issue
Block a user