diff options
author | Thomas Tortorini <thomastortorini@gmail.com> | 2015-06-27 17:18:21 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-09-07 22:15:09 +0200 |
commit | 41a04e59df5beac4ca61b3b5e3a6b078b6aee1ac (patch) | |
tree | de2984d13da065691e5e433013b37e7e5631d6f7 /test/unit/tween.js | |
parent | cbb0be6c41221ba3dae280aee07815007b127982 (diff) | |
download | jquery-41a04e59df5beac4ca61b3b5e3a6b078b6aee1ac.tar.gz jquery-41a04e59df5beac4ca61b3b5e3a6b078b6aee1ac.zip |
Effects: Remove additional parameters of easings
(cherry-picked from b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb)
Fixes gh-2367
Closes gh-2376
Diffstat (limited to 'test/unit/tween.js')
-rw-r--r-- | test/unit/tween.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/unit/tween.js b/test/unit/tween.js index 42ab03789..ddd2e8d43 100644 --- a/test/unit/tween.js +++ b/test/unit/tween.js @@ -217,8 +217,7 @@ QUnit.test( "jQuery.Tween - Plain Object", function( assert ) { tween.now, 90, "Calculated tween" ); - assert.ok( easingSpy.calledWith( 0.1, 0.1 * testOptions.duration, 0, 1, testOptions.duration ), - "...using jQuery.easing.linear with back-compat arguments" ); + assert.ok( easingSpy.calledWith( 0.1 ), "...using jQuery.easing.linear" ); assert.equal( testObject.test, 90, "Set value" ); @@ -281,8 +280,7 @@ QUnit.test( "jQuery.Tween - Element", function( assert ) { tween.now, eased, "Calculated tween" ); - assert.ok( easingSpy.calledWith( 0.1, 0.1 * testOptions.duration, 0, 1, testOptions.duration ), - "...using jQuery.easing.linear with back-compat arguments" ); + assert.ok( easingSpy.calledWith( 0.1 ), "...using jQuery.easing.linear" ); assert.equal( Math.floor( parseFloat( testElement.style.height ) ), Math.floor( eased ), "Set value" ); |