Skip to content

Commit

Permalink
Merge pull request #16 from DaQuirm/participant_base
Browse files Browse the repository at this point in the history
fix #15
  • Loading branch information
DaQuirm committed Mar 15, 2014
2 parents 7fbdd62 + a287212 commit 72f4fcf
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 72f4fcf

Please sign in to comment.