summaryrefslogtreecommitdiff
path: root/test/09-test-undo.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-08-13 16:44:32 -0400
committerJules Laplace <jules@okfoc.us>2014-08-13 16:44:32 -0400
commited5751766079a62ce596dcc0abc1a211b5b633dc (patch)
tree1f4d2b2e8ceed87ffad34a34143a661da4022186 /test/09-test-undo.js
parentefbee2f77d9405d96c773ce8f909e420e8520c5c (diff)
parent90cb5b343f3d56372f9b43faf215ed80dd879fe1 (diff)
merge
Diffstat (limited to 'test/09-test-undo.js')
-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"