Skip to content
Permalink
Browse files

Merge remote branch 'kborchers/unitTest_bug_7024'

  • Loading branch information...
jzaefferer committed May 10, 2011
2 parents c844bbd + a63d23c commit 5806d6554bfadc4500e97d57d07d6f44d2b90618
Showing with 16 additions and 0 deletions.
  1. +16 −0 tests/unit/autocomplete/autocomplete_events.js
@@ -203,4 +203,20 @@ test("cancel select", function() {
}, 50);
});

test("blur without selection", function() {
expect(1);
var ac = $("#autocomplete").autocomplete({
delay: 0,
source: data
});
stop();
ac.val("j").keydown();
setTimeout(function() {
$( ".ui-menu-item" ).first().simulate("mouseover");
ac.simulate("keydown", { keyCode: $.ui.keyCode.TAB });
same( ac.val(), "j" );
start();
}, 50);
});

})(jQuery);

0 comments on commit 5806d65

Please sign in to comment.
You can’t perform that action at this time.