confirm in:private works for non staff
This commit is contained in:
parent
5bbc477baa
commit
9b84cd832c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue