diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-06-10 16:44:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:06 +0100 |
commit | 5ee6b706b22a41de1e51696d8441767a86bcc977 (patch) | |
tree | 131056fae7a73e3026f71c3330d0e718666e6d27 /bitbake/lib | |
parent | aa6894a4369dbbd032a98bfe43b285111261efa9 (diff) | |
download | poky-5ee6b706b22a41de1e51696d8441767a86bcc977.tar.gz |
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/tests/test.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/tests/test.js b/bitbake/lib/toaster/toastergui/static/js/tests/test.js index 44b752277c..f8d566b3e3 100644 --- a/bitbake/lib/toaster/toastergui/static/js/tests/test.js +++ b/bitbake/lib/toaster/toastergui/static/js/tests/test.js | |||
@@ -134,10 +134,10 @@ QUnit.test("Make typeaheads", function(assert){ | |||
134 | libtoaster.makeTypeahead(recipesT, | 134 | libtoaster.makeTypeahead(recipesT, |
135 | libtoaster.ctx.recipesTypeAheadUrl, {}, function(){}); | 135 | libtoaster.ctx.recipesTypeAheadUrl, {}, function(){}); |
136 | 136 | ||
137 | assert.ok(recipesT.data('typeahead')); | 137 | assert.ok(recipesT.data('ttTypeahead')); |
138 | assert.ok(layersT.data('typeahead')); | 138 | assert.ok(layersT.data('ttTypeahead')); |
139 | assert.ok(projectsT.data('typeahead')); | 139 | assert.ok(projectsT.data('ttTypeahead')); |
140 | assert.ok(recipesT.data('typeahead')); | 140 | assert.ok(recipesT.data('ttTypeahead')); |
141 | }); | 141 | }); |
142 | 142 | ||
143 | 143 | ||