aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/effects/effects_scale.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/effects/effects_scale.js')
-rw-r--r--tests/unit/effects/effects_scale.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/effects/effects_scale.js b/tests/unit/effects/effects_scale.js
index caed39c22..03446367d 100644
--- a/tests/unit/effects/effects_scale.js
+++ b/tests/unit/effects/effects_scale.js
@@ -3,11 +3,11 @@ module( "effect.scale: Scale" );
function run( position, v, h, vo, ho ) {
var desc = "End Position Correct: " + position + " (" + v + "," + h + ") - origin: (" + vo + "," + ho + ")";
- asyncTest( desc, function() {
+ asyncTest( desc, function( assert ) {
expect( 2 );
function complete() {
- closeEnough( parseInt( test.css( h ), 10 ), target[ h ], 1, "Horizontal Position Correct " + desc );
- closeEnough( parseInt( test.css( v ), 10 ), target[ v ], 1, "Vertical Position Correct " + desc );
+ assert.close( parseInt( test.css( h ), 10 ), target[ h ], 1, "Horizontal Position Correct " + desc );
+ assert.close( parseInt( test.css( v ), 10 ), target[ v ], 1, "Vertical Position Correct " + desc );
start();
}
var test = $( ".testScale" ),