Permalink
Browse files

[dialog unit tests] Add expect() to the double-close test

  • Loading branch information...
gabrielschulhof committed Apr 26, 2012
1 parent 38d84ee commit 5ee631530c3ee90a8943b2d7f45735dd17698d99
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/unit/dialog/dialog_events.js
@@ -41,6 +41,8 @@
asyncTest( "clicking dialog 'Close' button twice in quick succession does not cause the browser history to retreat by two", function() {
var correctLocation;
+ expect(3);
+
$.testHelper.pageSequence([
function() {
$.mobile.changePage( $( "#mypage" ) );

0 comments on commit 5ee6315

Please sign in to comment.