summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/09-test-undo.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/09-test-undo.js b/test/09-test-undo.js
index f774c04..dbca90e 100644
--- a/test/09-test-undo.js
+++ b/test/09-test-undo.js
@@ -34,22 +34,22 @@ describe('undo', function(){
UndoStack.push({
type: "demo",
- prev: state,
- next: "one"
+ undo: state,
+ redo: "one"
})
state = "one"
UndoStack.push({
type: "demo",
- prev: state,
- next: "two"
+ undo: state,
+ redo: "two"
})
state = "two"
UndoStack.push({
type: "demo",
- prev: state,
- next: "three"
+ undo: state,
+ redo: "three"
})
state = "three"
@@ -123,8 +123,8 @@ describe('undo', function(){
UndoStack.push({
type: "demo",
- prev: state,
- next: "four"
+ undo: state,
+ redo: "four"
})
state = "four"