Module: EmailSpec::BackgroundProcesses::DelayedJob

Included in:
Compatibility
Defined in:
lib/email_spec/background_processes.rb

Instance Method Summary collapse

Instance Method Details

#all_emailsObject



4
5
6
7
# File 'lib/email_spec/background_processes.rb', line 4

def all_emails
  work_off_queue
  super
end

#last_email_sentObject



9
10
11
12
# File 'lib/email_spec/background_processes.rb', line 9

def last_email_sent
  work_off_queue
  super
end

#mailbox_for(address) ⇒ Object



19
20
21
22
# File 'lib/email_spec/background_processes.rb', line 19

def mailbox_for(address)
  work_off_queue
  super
end

#reset_mailerObject



14
15
16
17
# File 'lib/email_spec/background_processes.rb', line 14

def reset_mailer
  work_off_queue
  super
end