fix Mailer#create_message spec failures

and probably Mailer#create_message also

Change-Id: I1ff9225e87a790e9929d74c27bc10a3b45740481
Reviewed-on: https://gerrit.instructure.com/64922
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
This commit is contained in:
Jeremy Stanley 2015-10-09 13:15:47 -06:00 committed by James Williams
parent 5b7d91480a
commit fca51d34f2
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class IncomingMail::ReplyToAddress
# Returns a secure ID string.
def secure_id
gid = message.global_id
Canvas::Security.hmac_sha1(Shard.short_id_for(gid))
Canvas::Security.hmac_sha1(Shard.short_id_for(gid).to_s)
end
class << self