test/mailers/invitation_test.rb in devise_invitable-0.1.4 vs test/mailers/invitation_test.rb in devise_invitable-0.2.0
- old
+ new
@@ -2,10 +2,10 @@
class InvitationMailTest < ActionMailer::TestCase
def setup
setup_mailer
- DeviseMailer.sender = 'test@example.com'
+ Devise.mailer_sender = 'test@example.com'
end
def user
@user ||= begin
user = create_user_with_invitation('token')