Permalink
Browse files

Add event test

  • Loading branch information...
Koen Bok
Koen Bok committed May 3, 2013
1 parent 5da20c9 commit 9b9daddb58028ac1b7c9e72e7f7de0a350826834
Showing with 10 additions and 0 deletions.
  1. +10 −0 test/tests/events.coffee
View
@@ -0,0 +1,10 @@
describe "View", ->
createView = ->
view = new View width:100, height:100
describe "Checks", ->
it "should set check empty event", ->
view = createView()
(-> view.on "").should.throw("Missing event type")

0 comments on commit 9b9dadd

Please sign in to comment.