confirm in:private works for non staff

This commit is contained in:
Sam 2017-05-11 15:06:30 -04:00
parent 5bbc477baa
commit 9b84cd832c
1 changed files with 6 additions and 0 deletions

View File

@ -198,6 +198,12 @@ describe Search do
expect(results.posts.length).to eq(1)
results = Search.execute('mars in:private',
search_context: post.user,
guardian: Guardian.new(post.user))
expect(results.posts.length).to eq(1)
end
end