Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Tests/PonentesTests.cs @ 74:bc46e7426c80
Refactoring de acciones según la definición del diagrama de estados en assembla
(https://www.assembla.com/spaces/altnet-hispano/wiki/Estados_de_un_evento)
author | nelopauselli |
---|---|
date | Mon, 23 May 2011 20:13:37 -0300 |
parents | c7264bfc4b71 |
children | 96d7609f2e08 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/PonentesTests.cs Mon May 23 19:54:05 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Tests/PonentesTests.cs Mon May 23 20:13:37 2011 -0300 @@ -19,9 +19,9 @@ var agenda = new Agenda(publicador.Object, null, DefaultEventoRepository, DefaultPonenteRepository); - agenda.Publicar("Audit (parallel model) con NHibernate 3", "Fabio Maulo", new DateTime(2011, 2, 26), + agenda.Agendar("Audit (parallel model) con NHibernate 3", "Fabio Maulo", new DateTime(2011, 2, 26), urlInvitacion); - agenda.Publicar("Conform - Parte 2", "Fabio Maulo", new DateTime(2011, 3, 5), + agenda.Agendar("Conform - Parte 2", "Fabio Maulo", new DateTime(2011, 3, 5), urlInvitacion); var eventos = agenda.GetEventosPublicados(); @@ -51,7 +51,7 @@ agenda.RegistrarPonente("Fabio Maulo", "fabiomaulo@gmail.com", "@fabiomaulo", "http://fabiomaulo.blogspot.com"); - agenda.Publicar("Audit (parallel model) con NHibernate 3", "Fabio Maulo", new DateTime(2011, 2, 26), urlInvitacion); + agenda.Agendar("Audit (parallel model) con NHibernate 3", "Fabio Maulo", new DateTime(2011, 2, 26), urlInvitacion); Assert.AreEqual(1, agenda.GetEventosPublicados().Count); @@ -73,7 +73,7 @@ var agenda = new Agenda(publicador.Object, null, DefaultEventoRepository, DefaultPonenteRepository); - agenda.Publicar("Audit (parallel model) con NHibernate 3", "Fabio Maulo", new DateTime(2011, 2, 26), + agenda.Agendar("Audit (parallel model) con NHibernate 3", "Fabio Maulo", new DateTime(2011, 2, 26), urlInvitacion); Assert.AreEqual(1, agenda.GetEventosPublicados().Count);