From 0cb6e39ff4ef035f72c568b04f8bca3167f2d331 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 22 Jul 2010 10:43:35 -0700 Subject: [PATCH] comment signing spec was broken --- spec/user_encryption_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/user_encryption_spec.rb b/spec/user_encryption_spec.rb index e05b31d29..5719a327e 100644 --- a/spec/user_encryption_spec.rb +++ b/spec/user_encryption_spec.rb @@ -156,7 +156,7 @@ describe 'user encryption' do message = Factory.create(:status_message, :person => @user) @user.comment "Yeah, it was great", :on => message message.comments.first.verify_creator_signature.should be true - StatusMessage.first.comments.first.verify_post_creator_signature.should be true + StatusMessage.first(:message => message.message).comments.first.verify_post_creator_signature.should be true end it 'should verify a comment made on a remote post by a different friend' do