From a287212afca4ec29c0f74815b77b6e14065636d2 Mon Sep 17 00:00:00 2001 From: LenaTurkinevich Date: Sat, 15 Mar 2014 11:35:51 +0300 Subject: [PATCH] fix #15 --- test/participant.spec.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/participant.spec.coffee b/test/participant.spec.coffee index 6bebb7f..e0fe21d 100644 --- a/test/participant.spec.coffee +++ b/test/participant.spec.coffee @@ -91,8 +91,8 @@ describe 'Participant', -> describe 'update_state', -> it 'throws an error exception when argument is not a string', -> - -> participant.update_state(state:'new').should.throw Error - -> participant.update_state().should.throw Error + (-> participant.update_state state:'new').should.throw Error + (-> do participant.update_state).should.throw Error it 'updates current participant`s state', -> state = 'new' participant.update_state(state)