comment signing spec was broken

This commit is contained in:
Raphael 2010-07-22 10:43:35 -07:00
parent 7ccf391ca5
commit 0cb6e39ff4

View file

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