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,
:sender
#NOTE(fix this hack -- go through the app and make sure we only call RelayableRetraction in a unified way)
def author
sender.person
if sender.is_a?(User)
sender.person
else
sender
end
end
def signable_accessors