From dfd7f44509c665b566ad297d0df0e90091b9bd5a Mon Sep 17 00:00:00 2001 From: Tomas Kirda Date: Wed, 26 Nov 2014 15:51:39 -0600 Subject: [PATCH] Update spec. --- spec/autocompleteBehavior.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/autocompleteBehavior.js b/spec/autocompleteBehavior.js index 0830e39..2b9f9bc 100644 --- a/spec/autocompleteBehavior.js +++ b/spec/autocompleteBehavior.js @@ -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(); });