mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
FIX: whispers should not be revealed in reply to, or reply expansion
FEATURE: mark whisper as experimental FIX: badges should never apply to whispers
This commit is contained in:
@ -141,8 +141,9 @@ describe PostsController do
|
||||
end
|
||||
|
||||
it 'asks post for replies' do
|
||||
Post.any_instance.expects(:replies)
|
||||
xhr :get, :replies, post_id: post.id
|
||||
p1 = Fabricate(:post)
|
||||
xhr :get, :replies, post_id: p1.id
|
||||
expect(response.status).to eq(200)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user