diff options
author | Vladislav Zarakovsky <vlad.zar@gmail.com> | 2016-03-12 14:25:05 +0300 |
---|---|---|
committer | Vladislav Zarakovsky <vlad.zar@gmail.com> | 2016-03-12 14:25:05 +0300 |
commit | d276bb2ee7fe68d020bd4ba0da3b5677f3e649e2 (patch) | |
tree | 8ac2ae23f70843630bb1301c781eacf6430413fa /test/api/selectSpec.js | |
parent | 2cd7fada2cf2fcd1c2048ab7ed862f349863a1bb (diff) | |
parent | 539fbf5c0b7adc73c22b6b10f9742a5e46170707 (diff) | |
download | awesomplete-d276bb2ee7fe68d020bd4ba0da3b5677f3e649e2.zip awesomplete-d276bb2ee7fe68d020bd4ba0da3b5677f3e649e2.tar.gz awesomplete-d276bb2ee7fe68d020bd4ba0da3b5677f3e649e2.tar.bz2 |
Merge pull request #16866 from vlazar/feature/separate-label-value
Separate label/value
Diffstat (limited to 'test/api/selectSpec.js')
-rw-r--r-- | test/api/selectSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/api/selectSpec.js b/test/api/selectSpec.js index 84895b1..9a1214e 100644 --- a/test/api/selectSpec.js +++ b/test/api/selectSpec.js @@ -46,8 +46,8 @@ describe("awesomplete.select", function () { expect(handler).toHaveBeenCalledWith( jasmine.objectContaining({ - text: expectedTxt, - data: expectedTxt, + text: jasmine.objectContaining({ label: expectedTxt, value: expectedTxt }), + data: jasmine.objectContaining({ label: expectedTxt, value: expectedTxt }), origin: this.selectArgument || this.subject.ul.children[0] }) ); |