A couple other minor tweaks to a test suite.

This commit is contained in:
Scott Erickson 2014-09-19 15:00:45 -07:00
parent cc7c65115c
commit 2183b7dac1

View file

@ -22,7 +22,7 @@ describe 'SingularSprite', ->
} }
createjs.Ticker.addEventListener "tick", listener createjs.Ticker.addEventListener "tick", listener
describe 'with Ogre Munchkin ThangType and spriteType=spriteSheet', -> describe 'with Ogre Munchkin ThangType', ->
beforeEach -> beforeEach ->
layer = new LayerAdapter() layer = new LayerAdapter()
layer.buildAutomatically = false layer.buildAutomatically = false
@ -43,6 +43,6 @@ describe 'SingularSprite', ->
afterEach -> afterEach ->
ogreMunchkinThangType.revert() ogreMunchkinThangType.revert()
it 'has the same interface as for when the ThangType uses the container spriteType', -> it 'has the same interface as Sprite for animation', ->
singularSprite.gotoAndPlay('move_fore') singularSprite.gotoAndPlay('move_fore')
singularSprite.gotoAndStop('attack') singularSprite.gotoAndStop('attack')