Browse files

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

  • Loading branch information...
1 parent 5339f7d commit 10f6c5a7a0eaaf0ee595e397b6e9c40fcd4e0bd4 @gabrielschulhof gabrielschulhof committed Apr 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/unit/dialog/dialog_events.js
View
2 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 10f6c5a

Please sign in to comment.