Permalink
Browse files

Testing backwards compatibility of default state

Signed-off-by: Niels van Hoorn <nvh@nvh.io>
  • Loading branch information...
nvh committed Sep 15, 2016
1 parent 0970fe9 commit cd5cbfa95d93e2ece1edefc98ba98e2d15ef66fb
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/tests/LayerStatesTest.coffee
@@ -337,6 +337,7 @@ describe "LayerStates", ->
it "should set the initial state when creating a Layer", ->
layer = new Layer
layer.states.currentName.should.equal initialStateName
+ layer.states.default.x.should.equal 0
layer.states.initial.x.should.equal 0
assert.deepEqual layer.stateNames, [initialStateName]

0 comments on commit cd5cbfa

Please sign in to comment.