Fix SpecFlow tests

Feature "Core/Contents" is necessary now for displaying the homepage.

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-07-17 13:27:04 -07:00
parent bbabdb89ed
commit 4f1dd9d185
3 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ namespace Orchard.Specs.Bindings {
webApp.GivenIHaveACleanSiteWith(TableData(
new { extension = "module", names = "Orchard.Setup, Orchard.Modules, Orchard.Themes, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Tags, TinyMce" },
new { extension = "core", names = "Common, Dashboard, Feeds, HomePage, Navigation, PublishLater, Routable, Scheduling, Settings, XmlRpc" },
new { extension = "core", names = "Common, Dashboard, Feeds, HomePage, Navigation, Contents, PublishLater, Routable, Scheduling, Settings, XmlRpc" },
new { extension = "theme", names = "SafeMode, Classic" }));
webApp.WhenIGoTo("Setup");

View File

@@ -34,7 +34,7 @@ Scenario: Calling setup on a brand new install
Given I have a clean site with
| extension | names |
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, TinyMce |
| core | Common, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
| core | Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
| theme | SafeMode, Classic |
And I am on "/Setup"
When I fill in

View File

@@ -145,8 +145,8 @@ this.ScenarioSetup(scenarioInfo);
"nyMce"});
table1.AddRow(new string[] {
"core",
"Common, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Schedulin" +
"g, Settings, XmlRpc"});
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater," +
" Scheduling, Settings, XmlRpc"});
table1.AddRow(new string[] {
"theme",
"SafeMode, Classic"});