Class: EmailSpec::TestObserver

Inherits:
Object
  • Object
show all
Defined in:
lib/email_spec/test_observer.rb

Class Method Summary collapse

Class Method Details

.delivered_email(message) ⇒ Object



3
4
5
# File 'lib/email_spec/test_observer.rb', line 3

def self.delivered_email(message)
  ActionMailer::Base.deliveries << message
end