summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-08-13 16:12:02 -0400
committerJules Laplace <jules@okfoc.us>2014-08-13 16:21:26 -0400
commit90cb5b343f3d56372f9b43faf215ed80dd879fe1 (patch)
treedfac1c586b713a70c9bd5ffce01f93a46a256e75 /test
parent14228e82f4836b1bffa3389aa9e8d12959aa3810 (diff)
undo for scenery stuff
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"