summaryrefslogtreecommitdiffstats
path: root/test/api/selectSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/api/selectSpec.js')
-rw-r--r--test/api/selectSpec.js4
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]
})
);