fix incorrect comment on RSpec text

This commit is contained in:
Zach Prezkuta 2012-06-09 09:34:06 -06:00
parent 44e43158cc
commit 9f6d84141c

View file

@ -183,8 +183,8 @@ describe 'a user receives a post' do
receive_with_zord(eve, alice.person, xml) receive_with_zord(eve, alice.person, xml)
comment = eve.comment!(@post, 'tada') comment = eve.comment!(@post, 'tada')
# Note: eve.comment! has already initialized comment.parent_author_signature. Writing to it again # After Eve creates her comment, it gets sent to Alice, who signs it with her private key
# here causes the test to be different than the way the system actually runs # before relaying it out to the contacts on the top-level post
comment.parent_author_signature = comment.sign_with_key(alice.encryption_key) comment.parent_author_signature = comment.sign_with_key(alice.encryption_key)
@xml = comment.to_diaspora_xml @xml = comment.to_diaspora_xml
comment.delete comment.delete