[oe-commits] [bitbake] 37/44: toaster: js tests Twitter typeahead library object is now ttTypeahead

git at git.openembedded.org git at git.openembedded.org
Mon Jun 13 21:11:25 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 78dea5ec12f1a596d05a595198b2c35f58967699
Author: Michael Wood <michael.g.wood at intel.com>
AuthorDate: Fri Jun 10 16:44:15 2016 +0100

    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.
    
    Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
 lib/toaster/toastergui/static/js/tests/test.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/toaster/toastergui/static/js/tests/test.js b/lib/toaster/toastergui/static/js/tests/test.js
index 44b7522..f8d566b 100644
--- a/lib/toaster/toastergui/static/js/tests/test.js
+++ b/lib/toaster/toastergui/static/js/tests/test.js
@@ -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'));
 });
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list