FIX: broken debounce in search terms.

This commit is contained in:
Robin Ward
2015-08-10 15:31:10 -04:00
parent b02d624503
commit d37accb5bc
2 changed files with 23 additions and 25 deletions

View File

@ -11,9 +11,8 @@ test("search", (assert) => {
assert.ok(!exists('#search-dropdown .results ul li'), 'no results by default');
});
// TODO need to change the way Discourse.ajax is stubbed so it has the .abort method
// fillIn('#search-term', 'dev');
// andThen(() => {
// assert.ok(exists('#search-dropdown .results ul li'), 'it shows results');
// });
fillIn('#search-term', 'dev');
andThen(() => {
assert.ok(exists('#search-dropdown .results ul li'), 'it shows results');
});
});