BUGFIX/FEATURE: call out context for search.

This commit is contained in:
Sam
2014-06-17 17:53:45 +10:00
parent d85d34bac8
commit a288ff331d
8 changed files with 59 additions and 79 deletions

View File

@ -235,6 +235,7 @@ test("selecting a highlighted item", function() {
test("search query / the flow of the search", function() {
Ember.run(function() {
controller.set("searchContext", "context");
controller.set("searchContextEnabled", true);
controller.set("term", "ab");
});
ok(Discourse.Search.forTerm.calledWithExactly(