[gnome-continuous-yocto/gnomeostree-3.28-rocko: 914/8267] bitbake: toaster: js tests Twitter typeahead library object is now ttTypeahead



commit 5ee6b706b22a41de1e51696d8441767a86bcc977
Author: Michael Wood <michael g wood intel com>
Date:   Fri Jun 10 16:44:15 2016 +0100

    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>

 .../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 44b7522..f8d566b 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){
   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'));
 });
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]