Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Tests/Workflows/WorkflowTests.cs @ 118:b74734a1a755
Manejo de eventos por estado
author | Nelo@Kenia.neluz.int |
---|---|
date | Wed, 22 Jun 2011 09:32:59 -0300 |
parents | db4b1e2cae49 |
children | 6f1041301797 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/Workflows/WorkflowTests.cs Sun Jun 19 13:35:34 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Tests/Workflows/WorkflowTests.cs Wed Jun 22 09:32:59 2011 -0300 @@ -43,7 +43,7 @@ _workflow.Agendar(); - var evento = DefaultEventoRepository.GetEventosConFecha().SingleOrDefault(); + var evento = DefaultEventoRepository.GetActivos().SingleOrDefault(); Assert.IsNotNull(evento); _workflow.Confirmar(evento.Id); @@ -58,7 +58,7 @@ _workflow.Agendar(); - var evento = DefaultEventoRepository.GetEventosConFecha().SingleOrDefault(); + var evento = DefaultEventoRepository.GetActivos().SingleOrDefault(); Assert.IsNotNull(evento); _workflow.Confirmar(evento.Id);