candidate mailer
This commit is contained in:
14
test/mailers/previews/candidate_mailer_preview.rb
Normal file
14
test/mailers/previews/candidate_mailer_preview.rb
Normal file
@ -0,0 +1,14 @@
|
||||
# Preview all emails at http://localhost:3000/rails/mailers/candidate_mailer
|
||||
class CandidateMailerPreview < ActionMailer::Preview
|
||||
def welcome
|
||||
CandidateMailer.welcome Candidate.find_by(test_hash: 'R67PmfDHGiw') # Martha
|
||||
end
|
||||
|
||||
def reminder
|
||||
CandidateMailer.reminder Candidate.find_by(test_hash: 'NmEjDkOEKY4') # Roy
|
||||
end
|
||||
|
||||
def submitted
|
||||
CandidateMailer.submitted Candidate.find_by(test_hash: 'OvP0ZqGKwJ0') # Dawn
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user