Fix SpecFlow tests

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-11-13 10:08:26 -08:00
parent 27ecd9e5bb
commit 5b0fe58931
2 changed files with 24 additions and 24 deletions

View File

@@ -6,8 +6,8 @@ Feature: Setup
Scenario: Root request shows setup form Scenario: Root request shows setup form
Given I have a clean site with Given I have a clean site with
| extension | names | | extension | names |
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.jQuery, TinyMce | | module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLater, Orchard.Themes, Orchard.jQuery, TinyMce |
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc | | core | Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Scheduling, Settings, Shapes, XmlRpc |
| theme | SafeMode | | theme | SafeMode |
When I go to "/Default.aspx" When I go to "/Default.aspx"
Then I should see "Welcome to Orchard" Then I should see "Welcome to Orchard"
@@ -17,8 +17,8 @@ Scenario: Root request shows setup form
Scenario: Setup folder also shows setup form Scenario: Setup folder also shows setup form
Given I have a clean site with Given I have a clean site with
| extension | names | | extension | names |
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.jQuery, TinyMce | | module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLater, Orchard.Themes, Orchard.jQuery, TinyMce |
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc | | core | Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Scheduling, Settings, Shapes, XmlRpc |
| theme | SafeMode | | theme | SafeMode |
When I go to "/Setup" When I go to "/Setup"
Then I should see "Welcome to Orchard" Then I should see "Welcome to Orchard"
@@ -28,8 +28,8 @@ Scenario: Setup folder also shows setup form
Scenario: Some of the initial form values are required Scenario: Some of the initial form values are required
Given I have a clean site with Given I have a clean site with
| extension | names | | extension | names |
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.jQuery, TinyMce | | module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLater, Orchard.Themes, Orchard.jQuery, TinyMce |
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc | | core | Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Scheduling, Settings, Shapes, XmlRpc |
| theme | SafeMode | | theme | SafeMode |
When I go to "/Setup" When I go to "/Setup"
And I hit "Finish Setup" And I hit "Finish Setup"
@@ -39,8 +39,8 @@ Scenario: Some of the initial form values are required
Scenario: Calling setup on a brand new install Scenario: Calling setup on a brand new install
Given I have a clean site with Given I have a clean site with
| extension | names | | extension | names |
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce | | module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLater, Orchard.Themes, Orchard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce |
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, Orchard.PublishLater, Scheduling, Settings, Shapes, XmlRpc | | core | Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Scheduling, Settings, Shapes, XmlRpc |
| theme | SafeMode, TheThemeMachine | | theme | SafeMode, TheThemeMachine |
And I am on "/Setup" And I am on "/Setup"
When I fill in When I fill in

View File

@@ -66,12 +66,12 @@ this.ScenarioSetup(scenarioInfo);
"names"}); "names"});
table1.AddRow(new string[] { table1.AddRow(new string[] {
"module", "module",
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" + "Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLat" +
"chard.jQuery, TinyMce, Orchard.PublishLater"}); "er, Orchard.Themes, Orchard.jQuery, TinyMce"});
table1.AddRow(new string[] { table1.AddRow(new string[] {
"core", "core",
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," + "Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Sc" +
" Scheduling, Settings, Shapes, XmlRpc"}); "heduling, Settings, Shapes, XmlRpc"});
table1.AddRow(new string[] { table1.AddRow(new string[] {
"theme", "theme",
"SafeMode"}); "SafeMode"});
@@ -102,12 +102,12 @@ this.ScenarioSetup(scenarioInfo);
"names"}); "names"});
table2.AddRow(new string[] { table2.AddRow(new string[] {
"module", "module",
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" + "Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLat" +
"chard.jQuery, TinyMce, Orchard.PublishLater"}); "er, Orchard.Themes, Orchard.jQuery, TinyMce"});
table2.AddRow(new string[] { table2.AddRow(new string[] {
"core", "core",
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," + "Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Sc" +
" Scheduling, Settings, Shapes, XmlRpc"}); "heduling, Settings, Shapes, XmlRpc"});
table2.AddRow(new string[] { table2.AddRow(new string[] {
"theme", "theme",
"SafeMode"}); "SafeMode"});
@@ -138,12 +138,12 @@ this.ScenarioSetup(scenarioInfo);
"names"}); "names"});
table3.AddRow(new string[] { table3.AddRow(new string[] {
"module", "module",
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" + "Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLat" +
"chard.jQuery, TinyMce, Orchard.PublishLater"}); "er, Orchard.Themes, Orchard.jQuery, TinyMce"});
table3.AddRow(new string[] { table3.AddRow(new string[] {
"core", "core",
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," + "Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Sc" +
" Scheduling, Settings, Shapes, XmlRpc"}); "heduling, Settings, Shapes, XmlRpc"});
table3.AddRow(new string[] { table3.AddRow(new string[] {
"theme", "theme",
"SafeMode"}); "SafeMode"});
@@ -176,12 +176,12 @@ this.ScenarioSetup(scenarioInfo);
"names"}); "names"});
table4.AddRow(new string[] { table4.AddRow(new string[] {
"module", "module",
"Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Or" + "Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.PublishLat" +
"chard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce, Orchard.PublishLater"}); "er, Orchard.Themes, Orchard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce"});
table4.AddRow(new string[] { table4.AddRow(new string[] {
"core", "core",
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable," + "Common, Contents, Dashboard, Feeds, HomePage, Messaging, Navigation, Routable, Sc" +
" Scheduling, Settings, Shapes, XmlRpc"}); "heduling, Settings, Shapes, XmlRpc"});
table4.AddRow(new string[] { table4.AddRow(new string[] {
"theme", "theme",
"SafeMode, TheThemeMachine"}); "SafeMode, TheThemeMachine"});