Permalink
Browse files

Transitions: Correct exception in unit tests

Fixes gh-7458
  • Loading branch information...
1 parent b0685b3 commit 905478d3085ea35b5e9100dd4b7547f5d2c7d10c @gabrielschulhof gabrielschulhof committed Jun 6, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/transitions/transitions_core.js
@@ -24,7 +24,7 @@
},
teardown: function() {
- window.scrollTo( 0 );
+ window.scrollTo( 0, 0 );
$( "body" ).height( $(window).height() );
}
});
@@ -64,7 +64,7 @@
expect( 1 );
// ensure the two values are different to trigger the method call
- window.scrollTo( 0 );
+ window.scrollTo( 0, 0 );
instance.toScroll = 100;
// stub to capture call

0 comments on commit 905478d

Please sign in to comment.