bitbake: toaster: js tests Twitter typeahead library object is now ttTypeahead
Get the ttTypeahead object on the input to see if it's been initialised correctly. (Bitbake rev: d382b2afb2939ae1b69a80ad083fb4c47303f8d0) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
aa6894a436
commit
5ee6b706b2
|
@ -134,10 +134,10 @@ QUnit.test("Make typeaheads", function(assert){
|
|||
libtoaster.makeTypeahead(recipesT,
|
||||
libtoaster.ctx.recipesTypeAheadUrl, {}, function(){});
|
||||
|
||||
assert.ok(recipesT.data('typeahead'));
|
||||
assert.ok(layersT.data('typeahead'));
|
||||
assert.ok(projectsT.data('typeahead'));
|
||||
assert.ok(recipesT.data('typeahead'));
|
||||
assert.ok(recipesT.data('ttTypeahead'));
|
||||
assert.ok(layersT.data('ttTypeahead'));
|
||||
assert.ok(projectsT.data('ttTypeahead'));
|
||||
assert.ok(recipesT.data('ttTypeahead'));
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue