Fix comment spec

This commit is contained in:
Raphael 2010-10-21 10:55:17 -07:00
parent 35a830aa03
commit 705cef3696

View file

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