actually fix specs/cucumber

This commit is contained in:
danielgrippi 2011-09-13 18:21:16 -07:00
parent 119cb37ba5
commit 015cc9e451

View file

@ -18,8 +18,13 @@ class SignedRetraction
:target_author_signature, :target_author_signature,
:sender :sender
#NOTE(fix this hack -- go through the app and make sure we only call RelayableRetraction in a unified way)
def author def author
if sender.is_a?(User)
sender.person sender.person
else
sender
end
end end
def signable_accessors def signable_accessors