diff Agendas/trunk/src/Agendas.Web.Tests/Controllers/MvcControllerTestsBase.cs @ 275:bf993f99cee3

Ticket #123: Patrocinadores de las vans.
author juanjose.montesdeocaarbos
date Wed, 14 Dec 2011 08:15:44 -0300
parents 3bb779434ae8
children
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web.Tests/Controllers/MvcControllerTestsBase.cs	Wed Nov 30 08:56:01 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Web.Tests/Controllers/MvcControllerTestsBase.cs	Wed Dec 14 08:15:44 2011 -0300
@@ -1,12 +1,13 @@
 using System.Web;
 using System.Web.Mvc;
+using System.Web.Routing;
 using Moq;
 
 namespace Agendas.Web.Tests.Controllers
 {
     public class MvcControllerTestsBase
     {
-        protected ControllerContext ControllerCtx = new ControllerContext();
+    	protected ControllerContext ControllerCtx = new ControllerContext();
 
         protected static TModel BindModel<TModel>(Controller controller, IValueProvider valueProvider) where TModel : class
         {
@@ -21,7 +22,7 @@
                 ValueProvider = valueProvider
             };
 
-            return (TModel)binder.BindModel(controller.ControllerContext, bindingContext);
+			return (TModel)binder.BindModel(controller.ControllerContext, bindingContext);
         }
     }
 }