[FIX] strangely implemented searchview test breaking some subsequent tests randomly

bzr revid: xmo@openerp.com-20120704140240-6yehb6c6ffxi7d12
This commit is contained in:
Xavier Morel
2012-07-04 16:02:40 +02:00
parent cd90a9365c
commit 028f9d115f
-3
View File
@@ -391,10 +391,7 @@ $(document).ready(function () {
}
});
view.appendTo($('#qunit-fixture'))
.always(start)
.fail(function (error) { ok(false, error.message); })
.done(function () {
stop();
view.complete_global_search({term: "dum"}, function (completions) {
start();
equal(completions.length, 1, "should have a single completion");