diff Agendas/trunk/src/Agendas.Tests/Cruds/PersonaCrudNhTests.cs @ 209:a36a76bd6ec3

Se soluciona ticket 173. Se agrega eliminación de personas siempre y cuando no esté asociada a ninguna van.
author alabra
date Wed, 24 Aug 2011 19:27:30 -0300
parents 5346c0500594
children
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/Cruds/PersonaCrudNhTests.cs	Wed Aug 24 11:30:06 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Tests/Cruds/PersonaCrudNhTests.cs	Wed Aug 24 19:27:30 2011 -0300
@@ -32,7 +32,8 @@
 		public void CreateCrud()
 		{
 			ISessionFactory sessionFactory = NhHelper.GetSessionFactory();
-			_test = new PersonaCrud(() => new PersonaRepository(sessionFactory), () => new RequestEmulator(sessionFactory));
+		    _test = new PersonaCrud(() => new PersonaRepository(sessionFactory), () => new RequestEmulator(sessionFactory),
+		                            () => new EventoRepository(sessionFactory));
 		}
 
 		#endregion
@@ -66,5 +67,11 @@
 		{
 			_test.Update();
 		}
+
+        [Test]
+        public void Delete()
+        {
+            _test.Delete();
+        }
 	}
 }
\ No newline at end of file