Configuring the spec tests to have the appropriate theme's enabled (so the tests don't fail)

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-17 01:45:13 -07:00
parent c0d4fa4c53
commit 1b689eb0f8
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -41,7 +41,7 @@ Scenario: Calling setup on a brand new install
| extension | names |
| module | Orchard.Setup, Orchard.Users, Orchard.Roles, Orchard.Comments, Orchard.Themes, Orchard.Modules, Orchard.Widgets, Orchard.jQuery, TinyMce |
| core | Common, Contents, ContentsLocation, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, Shapes, XmlRpc |
| theme | SafeMode, Classic |
| theme | SafeMode, TheThemeMachine |
And I am on "/Setup"
When I fill in
| name | value |

View File

@@ -184,7 +184,7 @@ this.ScenarioSetup(scenarioInfo);
"ble, PublishLater, Scheduling, Settings, Shapes, XmlRpc"});
table4.AddRow(new string[] {
"theme",
"SafeMode, Classic"});
"SafeMode, TheThemeMachine"});
#line 40
testRunner.Given("I have a clean site with", ((string)(null)), table4);
#line 45