From 705cef36965f3d49cb9ff4d0169218b24f760746 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 21 Oct 2010 10:55:17 -0700 Subject: [PATCH] Fix comment spec --- spec/models/comment_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/comment_spec.rb b/spec/models/comment_spec.rb index e8c3c3ef4..1cd8e9b9d 100644 --- a/spec/models/comment_spec.rb +++ b/spec/models/comment_spec.rb @@ -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