Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web.Tests/AutorizationsTests.cs @ 183:212c664db5aa
Generalización del manejo de las acciones sobre eventos
author | nelopauselli |
---|---|
date | Mon, 08 Aug 2011 22:27:00 -0300 |
parents | 1deccd6c3cb2 |
children | a36a76bd6ec3 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web.Tests/AutorizationsTests.cs Mon Aug 08 21:57:10 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web.Tests/AutorizationsTests.cs Mon Aug 08 22:27:00 2011 -0300 @@ -25,7 +25,7 @@ { var temp = controller.GetMethods(BindingFlags.Public | BindingFlags.Instance | ~BindingFlags.FlattenHierarchy).Where( - m => typeof (ActionResult).IsAssignableFrom(m.ReturnType)); + m => !m.IsPrivate && typeof (ActionResult).IsAssignableFrom(m.ReturnType)); methods.AddRange(temp); }