Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Tests/Cruds/PersonaCrudMemoryTests.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 | 33e57fd1a6c9 |
children |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/Cruds/PersonaCrudMemoryTests.cs Wed Aug 24 11:30:06 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Tests/Cruds/PersonaCrudMemoryTests.cs Wed Aug 24 19:27:30 2011 -0300 @@ -30,7 +30,8 @@ [SetUp] public void CreateCrud() { - _test = new PersonaCrud(() => new PersonaRepository(), () => new Mock<IDisposable>().Object); + _test = new PersonaCrud(() => new PersonaRepository(), () => new Mock<IDisposable>().Object, + () => new EventoRepository()); } #endregion @@ -64,5 +65,11 @@ { _test.Update(); } + + [Test] + public void Delete() + { + _test.Delete(); + } } } \ No newline at end of file