diff --git a/src/Umbraco.Tests/BootManagers/WebBootManagerTester.cs b/src/Umbraco.Tests/BootManagers/WebBootManagerTests.cs similarity index 98% rename from src/Umbraco.Tests/BootManagers/WebBootManagerTester.cs rename to src/Umbraco.Tests/BootManagers/WebBootManagerTests.cs index b3c02a058b..9ddba6df5f 100644 --- a/src/Umbraco.Tests/BootManagers/WebBootManagerTester.cs +++ b/src/Umbraco.Tests/BootManagers/WebBootManagerTests.cs @@ -9,7 +9,7 @@ using Umbraco.Web.Mvc; namespace Umbraco.Tests.BootManagers { [TestFixture] - public class WebBootManagerTester + public class WebBootManagerTests { [Test] public void WrapViewEngines_HasEngines_WrapsAll() diff --git a/src/Umbraco.Tests/Umbraco.Tests.csproj b/src/Umbraco.Tests/Umbraco.Tests.csproj index ab9f15ea6d..22048799ac 100644 --- a/src/Umbraco.Tests/Umbraco.Tests.csproj +++ b/src/Umbraco.Tests/Umbraco.Tests.csproj @@ -68,9 +68,8 @@ True ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - False - ..\Umbraco.Web.UI\bin\Microsoft.Web.Mvc.FixedDisplayModes.dll + + ..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.1\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll ..\packages\Moq.4.1.1309.1617\lib\net40\Moq.dll @@ -123,17 +122,17 @@ True ..\packages\Microsoft.AspNet.Mvc.4.0.30506.0\lib\net40\System.Web.Mvc.dll - - True + ..\packages\Microsoft.AspNet.Razor.2.0.30506.0\lib\net40\System.Web.Razor.dll - - True + + ..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.dll - - True + + ..\packages\Microsoft.AspNet.WebPages.2.0.30506.0\lib\net40\System.Web.WebPages.Deployment.dll + True True @@ -160,7 +159,7 @@ - + diff --git a/src/Umbraco.Tests/Views/web.config b/src/Umbraco.Tests/Views/web.config new file mode 100644 index 0000000000..aa5e0eb2e3 --- /dev/null +++ b/src/Umbraco.Tests/Views/web.config @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Umbraco.Tests/packages.config b/src/Umbraco.Tests/packages.config index e9ff4d1afc..82175eda41 100644 --- a/src/Umbraco.Tests/packages.config +++ b/src/Umbraco.Tests/packages.config @@ -4,6 +4,7 @@ + diff --git a/src/Umbraco.Web/WebBootManager.cs b/src/Umbraco.Web/WebBootManager.cs index 6db91b37bf..1fd2371eb7 100644 --- a/src/Umbraco.Web/WebBootManager.cs +++ b/src/Umbraco.Web/WebBootManager.cs @@ -146,9 +146,9 @@ namespace Umbraco.Web { if (viewEngines == null || viewEngines.Count == 0) return; - var origninaleEngines = viewEngines.Select(e => e).ToArray(); + var originalEngines = viewEngines.Select(e => e).ToArray(); viewEngines.Clear(); - foreach (var engine in origninaleEngines) + foreach (var engine in originalEngines) { var wrappedEngine = engine is ProfilingViewEngine ? engine : new ProfilingViewEngine(engine); viewEngines.Add(wrappedEngine);