Permalink
Browse files

Add change event test case

  • Loading branch information...
1 parent cbc3850 commit 80c57bebc3e8f69a73e8e6945c1b9b94ae2c42a1 @gdaws committed Oct 8, 2012
Showing with 11 additions and 1 deletion.
  1. +11 −1 test/test_document.coffee
View
@@ -195,4 +195,14 @@ describe "Document", ->
document.set
a: 3
b: 4
-
+
+ it "should not emit a change event", ->
+
+ document.set
+ a: 1
+
+ document.on "change", ->
+ assert(false, "this should not have been reachable")
+
+ document.set
+ a: 1

0 comments on commit 80c57be

Please sign in to comment.