Skip to content
Snippets Groups Projects
Commit 705cef36 authored by Raphael's avatar Raphael
Browse files

Fix comment spec

parent 35a830aa
No related branches found
No related tags found
No related merge requests found
......@@ -62,14 +62,14 @@ describe Comment do
comment.creator_signature = comment.sign_with_key(user3.encryption_key)
comment.post_creator_signature = comment.sign_with_key(user.encryption_key)
xml = user.salmon(comment).xml_for(user3)
xml = user.salmon(comment).xml_for(user2)
user3.person.delete
user3.delete
@user_status.reload
@user_status.comments.should == []
user.receive_salmon(xml)
user2.receive_salmon(xml)
@user_status.reload
@user_status.comments.include?(comment).should be true
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment