Add test for in-home search when in our special narrow mode.

(imported from commit e6bc9fbd7b87377c7ed1d42e84a9b5cd369bb4fe)
This commit is contained in:
Steve Howell 2014-02-19 10:25:51 -05:00
parent 187796c3d4
commit 1c4dcda639
1 changed files with 2 additions and 0 deletions

View File

@ -193,6 +193,8 @@ function get_predicate(operators) {
predicate = get_predicate([['in', 'home']]);
assert(!predicate({stream: 'unsub'}));
assert(predicate({type: 'private'}));
global.page_params.narrow_stream = 'kiosk';
assert(predicate({stream: 'kiosk'}));
predicate = get_predicate([['near', 5]]);
assert(predicate({}));