diff Agendas/trunk/src/Agendas.Tests/PulicarTests.cs @ 59:4a4e12e32256

Poder quitar un ponente de un evento propuesto
author nelopauselli
date Mon, 16 May 2011 20:32:37 -0300
parents 3059a5f8930f
children cb3f7b47c1f0
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Tests/PulicarTests.cs	Mon May 16 20:24:50 2011 -0300
+++ b/Agendas/trunk/src/Agendas.Tests/PulicarTests.cs	Mon May 16 20:32:37 2011 -0300
@@ -66,6 +66,16 @@
 		}
 
 		[Test]
+		public void Intentar_publicar_evento_sin_ponente()
+		{
+			var agenda = new Agenda(null, null, DefaultEventoRepository, DefaultPonenteRepository);
+
+			var r = agenda.Publicar("Van para publicar", string.Empty, DateTime.Now);
+
+			Assert.IsFalse(r.Succeful);
+		}
+
+		[Test]
 		public void Publicar_evento_con_multiples_publicadores()
 		{
 			var publicador1 = new Mock<IPublicador>();