diff Agendas/trunk/src/Agendas.Tests/TrackTests.cs @ 118:b74734a1a755

Manejo de eventos por estado
author Nelo@Kenia.neluz.int
date Wed, 22 Jun 2011 09:32:59 -0300
parents 0bca45e1e664
children 62791999ad01
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/TrackTests.cs	Sun Jun 19 13:35:34 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Tests/TrackTests.cs	Wed Jun 22 09:32:59 2011 -0300
@@ -19,7 +19,7 @@
 
 			var fecha = DateTime.Now.AddDays(5);
 			agenda.Agendar("Html 5", "jjmontes", fecha, urlInvitacion, TipoEvento.Van);
-			var evento = repository.GetEventosConFecha().First();
+			var evento = repository.GetActivos().First();
 
 			Assert.AreEqual(1, evento.Tracks.Count());
 			var ultimo = evento.Tracks.Last();
@@ -54,7 +54,7 @@
 
 			agenda.Agendar("Html 5", "jjmontes", DateTime.Now,
         urlInvitacion, TipoEvento.Van);
-			var evento = repository.GetEventosConFecha().First();
+			var evento = repository.GetActivos().First();
 
 			Assert.AreEqual(1, evento.Tracks.Count());
 			Assert.AreEqual(Accion.Agendar, evento.Tracks.Last().Accion);