adds test

This commit is contained in:
Francisco Dans 2015-08-04 16:30:02 +02:00
parent ffdc70a60d
commit 8d1d55b7d1

View File

@ -26,6 +26,12 @@ test("rescale should resume animation if previously playing", function(assert){
animator.pause()
});
test("rescale shouldn't resume animation if previously paused", function(assert){
animator.pause();
animator.rescale();
assert.notOk(animator.running);
});
asyncTest("onStart runs properly", function(assert){
animator.options.onStart = function(){
assert.ok(true);