fix incorrect comment on RSpec text
This commit is contained in:
parent
44e43158cc
commit
9f6d84141c
1 changed files with 2 additions and 2 deletions
|
|
@ -183,8 +183,8 @@ describe 'a user receives a post' do
|
|||
receive_with_zord(eve, alice.person, xml)
|
||||
|
||||
comment = eve.comment!(@post, 'tada')
|
||||
# Note: eve.comment! has already initialized comment.parent_author_signature. Writing to it again
|
||||
# here causes the test to be different than the way the system actually runs
|
||||
# After Eve creates her comment, it gets sent to Alice, who signs it with her private key
|
||||
# before relaying it out to the contacts on the top-level post
|
||||
comment.parent_author_signature = comment.sign_with_key(alice.encryption_key)
|
||||
@xml = comment.to_diaspora_xml
|
||||
comment.delete
|
||||
|
|
|
|||
Loading…
Reference in a new issue