Fixing users spec flows.

--HG--
branch : 1.x
This commit is contained in:
Andre Rodrigues
2011-04-06 17:35:18 -07:00
parent f5d8393f50
commit 023910c5e5
2 changed files with 5 additions and 5 deletions

View File

@@ -7,14 +7,14 @@
Scenario: There is only one user by default Scenario: There is only one user by default
Given I have installed Orchard Given I have installed Orchard
When I go to "admin/users" When I go to "admin/users"
Then I should see "Manage Users" Then I should see "Users"
And I should see "<a[^>]*>admin</a>" And I should see "<a[^>]*>admin</a>"
@management @management
Scenario: I can create a new user Scenario: I can create a new user
Given I have installed Orchard Given I have installed Orchard
When I go to "admin/users" When I go to "admin/users"
Then I should see "Manage Users" Then I should see "Users"
When I follow "Add a new user" When I follow "Add a new user"
And I fill in And I fill in
| name | value | | name | value |

View File

@@ -2,7 +2,7 @@
// <auto-generated> // <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/). // This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.5.0.0 // SpecFlow Version:1.5.0.0
// Runtime Version:4.0.30319.225 // Runtime Version:4.0.30319.1
// //
// 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.
@@ -67,7 +67,7 @@ this.ScenarioSetup(scenarioInfo);
#line 9 #line 9
testRunner.When("I go to \"admin/users\""); testRunner.When("I go to \"admin/users\"");
#line 10 #line 10
testRunner.Then("I should see \"Manage Users\""); testRunner.Then("I should see \"Users\"");
#line 11 #line 11
testRunner.And("I should see \"<a[^>]*>admin</a>\""); testRunner.And("I should see \"<a[^>]*>admin</a>\"");
#line hidden #line hidden
@@ -88,7 +88,7 @@ this.ScenarioSetup(scenarioInfo);
#line 16 #line 16
testRunner.When("I go to \"admin/users\""); testRunner.When("I go to \"admin/users\"");
#line 17 #line 17
testRunner.Then("I should see \"Manage Users\""); testRunner.Then("I should see \"Users\"");
#line 18 #line 18
testRunner.When("I follow \"Add a new user\""); testRunner.When("I follow \"Add a new user\"");
#line hidden #line hidden