Skip to content

Commit

Permalink
adapted test
Browse files Browse the repository at this point in the history
  • Loading branch information
Harald von Waldow committed May 17, 2018
1 parent 56b35b8 commit c8c06c7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ckan/public/base/test/spec/modules/autocomplete.spec.js
Expand Up @@ -65,7 +65,8 @@ describe('ckan.modules.AutocompleteModule()', function () {
formatNoMatches: this.module.formatNoMatches,
formatInputTooShort: this.module.formatInputTooShort,
createSearchChoice: this.module.formatTerm, // Not used by tags.
initSelection: this.module.formatInitialValue
initSelection: this.module.formatInitialValue,
tokenSeparators: [',']
});
});

Expand All @@ -82,7 +83,8 @@ describe('ckan.modules.AutocompleteModule()', function () {
formatResult: this.module.formatResult,
formatNoMatches: this.module.formatNoMatches,
formatInputTooShort: this.module.formatInputTooShort,
initSelection: this.module.formatInitialValue
initSelection: this.module.formatInitialValue,
tokenSeparators: [',']
});

it('should watch the keydown event on the select2 input');
Expand All @@ -100,7 +102,8 @@ describe('ckan.modules.AutocompleteModule()', function () {
formatResult: this.module.formatResult,
formatNoMatches: this.module.formatNoMatches,
formatInputTooShort: this.module.formatInputTooShort,
initSelection: this.module.formatInitialValue
initSelection: this.module.formatInitialValue,
tokenSeparators: [',']
});
});

Expand All @@ -117,7 +120,8 @@ describe('ckan.modules.AutocompleteModule()', function () {
formatResult: this.module.formatResult,
formatNoMatches: this.module.formatNoMatches,
formatInputTooShort: this.module.formatInputTooShort,
initSelection: this.module.formatInitialValue
initSelection: this.module.formatInitialValue,
tokenSeparators: [',']
});
});

Expand Down

0 comments on commit c8c06c7

Please sign in to comment.