Fixing multi-tenancy specflow tests

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-02-20 11:06:57 -08:00
parent bd6b233c04
commit a5c739b342
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ Scenario: Default site is listed
And I have installed "Orchard.MultiTenancy"
When I go to "Admin/MultiTenancy"
Then I should see "List of Site's Tenants"
And I should see "<h3>Default</h3>"
And I should see "<h3>Default\s*</h3>"
And the status should be 200 "OK"
Scenario: New tenant fields are required
@@ -27,7 +27,7 @@ Scenario: A new tenant is created
| Name | Scott |
And I hit "Save"
And I am redirected
Then I should see "<h3>Scott</h3>"
Then I should see "<h3>Scott\s*</h3>"
And the status should be 200 "OK"
Scenario: A new tenant is created with uninitialized state

View File

@@ -81,7 +81,7 @@ this.ScenarioSetup(scenarioInfo);
#line 10
testRunner.Then("I should see \"List of Site&#39;s Tenants\"");
#line 11
testRunner.And("I should see \"<h3>Default</h3>\"");
testRunner.And("I should see \"<h3>Default\\s*</h3>\"");
#line 12
testRunner.And("the status should be 200 \"OK\"");
#line hidden
@@ -136,7 +136,7 @@ this.ScenarioSetup(scenarioInfo);
#line 29
testRunner.And("I am redirected");
#line 30
testRunner.Then("I should see \"<h3>Scott</h3>\"");
testRunner.Then("I should see \"<h3>Scott\\s*</h3>\"");
#line 31
testRunner.And("the status should be 200 \"OK\"");
#line hidden