Skip to content

Commit

Permalink
fix #15
Browse files Browse the repository at this point in the history
  • Loading branch information
TLena committed Mar 15, 2014
1 parent 79854e0 commit a287212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/participant.spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a287212

Please sign in to comment.