fix tests

This commit is contained in:
r888888888
2015-08-18 17:37:07 -07:00
parent 66de9c85a3
commit 341b29ce41
32 changed files with 3205 additions and 3223 deletions

View File

@@ -181,7 +181,7 @@ class Dmail < ActiveRecord::Base
def send_dmail
if to.receive_email_notifications? && to.email.include?("@") && owner_id == to.id
UserMailer.dmail_notice(self).deliver
UserMailer.dmail_notice(self).deliver_now
end
end