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:
Sam
2015-09-25 10:15:58 +10:00
parent 6b07575632
commit 2422289c8b
6 changed files with 40 additions and 14 deletions

View File

@ -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