Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Tests/TrackTests.cs @ 70:c7264bfc4b71
agregado de properties en clase Evento (UrlInvitacion, UrlWiki, NumeroOrden)
modificaciones en proyecto Agendas.Blog
modificacion de viewmodel EventoModel - agregado de UrlInvitacion (no requerido)
author | jorge.rowies |
---|---|
date | Fri, 20 May 2011 12:21:07 -0300 |
parents | 3059a5f8930f |
children | 76567a0d1e44 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/TrackTests.cs Thu May 19 01:32:29 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Tests/TrackTests.cs Fri May 20 12:21:07 2011 -0300 @@ -8,6 +8,8 @@ [TestFixture] public class TrackTests : TestBase { + private const string urlInvitacion = "http://groups.google.com/group/altnet-hispano/browse_thread/thread/65d6d26eb381386e"; + [Test] public void Track_al_publicar_y_modificar_evento() { @@ -16,7 +18,7 @@ var agenda = new Agenda(null, null, repository, DefaultPonenteRepository); var fecha = DateTime.Now.AddDays(5); - agenda.Publicar("Html 5", "jjmontes", fecha); + agenda.Publicar("Html 5", "jjmontes", fecha, urlInvitacion); var evento = repository.GetEventosConFecha().First(); Assert.AreEqual(1, evento.Tracks.Count()); @@ -38,7 +40,8 @@ var agenda = new Agenda(null, null, repository, DefaultPonenteRepository); - agenda.Publicar("Html 5", "jjmontes", DateTime.Now); + agenda.Publicar("Html 5", "jjmontes", DateTime.Now, + urlInvitacion); var evento = repository.GetEventosConFecha().First(); Assert.AreEqual(1, evento.Tracks.Count());