describe('OpenSpace - Código como Expresión', function(){ var theEvent; beforeEach(function() { theEvent = new CodigoComoExpresionOpenSpace(); }); it ('es un OpenSpace', function() { expect(theEvent.type) .toBeLikeDescribedIn(AnOpenSpaceDescription); }); it ('se celebra en un sitio fantástico', function() { expect(theEvent.city).toEqual(VALENCIA); expect(theEvent.place).toBe(OficinasDeOzongo); }); it ('tiene fecha y horario concretos', function() { expect(theEvent.date).toBe(new Date('May 19, 2012 09:30')); expect(theEvent.board).toBeIn(new Date('May 18, 2012')); expect(theEvent.board).toBeAt(anyLocalBar.getInstance()); }); it ('es para desarrolladores', function() { expect(theEvent.people).toHaveLaptops(); }); it ('es gratuito', function() { expect(theEvent.fee).toEqual(0); }); it ('tiene aforo limitado', function() { expect(theEvent.people.count).not.toBeGreaterThan(50); }); it ('tiene dirección de contacto para dudas', function() { expect(theEvent.mail).toBe(info@agilismo.es); }); it ('tiene formulario de registro', function() { expect(theEvent.signup).toBeAt(http://agilismo.stagehq.com); }); });
