diff --git a/Tests/Backbone.Undo.Tests.js b/Tests/Backbone.Undo.Tests.js index f051ba9..2d8296f 100644 --- a/Tests/Backbone.Undo.Tests.js +++ b/Tests/Backbone.Undo.Tests.js @@ -52,10 +52,14 @@ test("Start and stop tracking", function () { model.set("hello", "world"); collection.add({"e": "f"}); - strictEqual(UndoManager.stack.length, before, "Actions weren't added to the stack, because tracking hasn't strated yet"); + strictEqual(UndoManager.stack.length, before, "Actions weren't added to the stack, because tracking hasn't started yet"); + + ok(!UndoManager.isTracking(), "Tracking has not started yet"); UndoManager.startTracking(); + ok(UndoManager.isTracking(), "Tracking has now started"); + model.set("hello", "you"); collection.remove(collection.last());