Moving controllers out of stock Orchard.Web app. Updating standard route provider to use package manager active entry information. (removes hardcoded entries.)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4039327
This commit is contained in:
loudej
2009-11-10 07:39:09 +00:00
parent 0eaf1ccb30
commit ef0c573f42
23 changed files with 204 additions and 176 deletions

View File

@@ -1,18 +0,0 @@
using System.Web.Mvc;
using NUnit.Framework;
using Orchard.Web.Controllers;
namespace Orchard.Web.Tests.Controllers {
[TestFixture]
public class HomeControllerTests {
[Test]
public void IndexAndAboutShouldReturnViews() {
var controller = new HomeController();
var result1 = controller.Index();
var result2 = controller.About();
Assert.That(result1, Is.TypeOf<ViewResult>());
Assert.That(result2, Is.TypeOf<ViewResult>());
}
}
}

View File

@@ -60,7 +60,6 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\HomeControllerTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Routes\RouteTests.cs" />
<Compile Include="Stubs\StubContext.cs" />