mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-12 16:26:37 +00:00
Update spec.
This commit is contained in:
parent
f2e13bdb5b
commit
dfd7f44509
@ -495,8 +495,6 @@ describe('Autocomplete', function () {
|
||||
|
||||
var event = $.Event('keydown');
|
||||
event.which = 9; // the tab keycode
|
||||
spyOn(event, 'stopImmediatePropagation');
|
||||
spyOn(event, 'preventDefault');
|
||||
spyOn(autocomplete, 'suggest');
|
||||
|
||||
expect(autocomplete.visible).toBe(true);
|
||||
@ -505,8 +503,6 @@ describe('Autocomplete', function () {
|
||||
|
||||
$(input).trigger(event);
|
||||
|
||||
expect(event.stopImmediatePropagation).toHaveBeenCalled();
|
||||
expect(event.preventDefault).toHaveBeenCalled();
|
||||
expect(autocomplete.suggest).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user