mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Moving location settings to new "ContentsLocation" module
--HG-- branch : dev rename : src/Orchard.Web/Core/Common/Models/LocationDefinition.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationDefinition.cs rename : src/Orchard.Web/Core/Common/Models/LocationSettings.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationSettings.cs rename : src/Orchard.Web/Core/Common/ViewModels/LocationSettingsViewModel.cs => src/Orchard.Web/Core/ContentsLocation/ViewModels/LocationSettingsViewModel.cs rename : src/Orchard.Web/Core/Common/Views/DefinitionTemplates/LocationSettings.ascx => src/Orchard.Web/Core/ContentsLocation/Views/DefinitionTemplates/LocationSettings.ascx
This commit is contained in:
@@ -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, Contents, PublishLater, Routable, Scheduling, Settings, XmlRpc" },
|
||||
new { extension = "core", names = "Common, Dashboard, Feeds, HomePage, Navigation, Contents, ContentsLocation, PublishLater, Routable, Scheduling, Settings, XmlRpc" },
|
||||
new { extension = "theme", names = "SafeMode, Classic" }));
|
||||
|
||||
webApp.WhenIGoTo("Setup");
|
||||
|
@@ -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, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
|
||||
| core | Common, Contents, ContentsLocation, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater, Scheduling, Settings, XmlRpc |
|
||||
| theme | SafeMode, Classic |
|
||||
And I am on "/Setup"
|
||||
When I fill in
|
||||
|
4
src/Orchard.Specs/Setup.feature.cs
generated
4
src/Orchard.Specs/Setup.feature.cs
generated
@@ -145,8 +145,8 @@ this.ScenarioSetup(scenarioInfo);
|
||||
"nyMce"});
|
||||
table1.AddRow(new string[] {
|
||||
"core",
|
||||
"Common, Contents, Dashboard, Feeds, HomePage, Navigation, Routable, PublishLater," +
|
||||
" Scheduling, Settings, XmlRpc"});
|
||||
"Common, Contents, ContentsLocation, Dashboard, Feeds, HomePage, Navigation, Routa" +
|
||||
"ble, PublishLater, Scheduling, Settings, XmlRpc"});
|
||||
table1.AddRow(new string[] {
|
||||
"theme",
|
||||
"SafeMode, Classic"});
|
||||
|
Reference in New Issue
Block a user