small mail changes
This commit is contained in:
parent
aedf809341
commit
e10b4c03d9
|
@ -1,4 +1,4 @@
|
|||
class ApplicationMailer < ActionMailer::Base
|
||||
default from: "info@webdev.camp" , bcc: "torsten@webdev.camp"
|
||||
default from: "info@webdev.camp" , bcc: "info@webdev.camp"
|
||||
layout 'mailer'
|
||||
end
|
||||
|
|
|
@ -8,7 +8,10 @@ If your situation changes or you have additional questions or concerns, you can
|
|||
|
||||
Best Regards
|
||||
|
||||
The Web Dev Team
|
||||
Torsten Ruger
|
||||
|
||||
Director
|
||||
Web Dev Camp
|
||||
|
||||
Application details: http://webdev.camp/application
|
||||
---------------------------------------------------
|
||||
|
|
|
@ -21,7 +21,7 @@ RSpec.describe ApplyMailer, type: :mailer do
|
|||
it "renders the headers" do
|
||||
expect(mail.subject).to match("cancelled")
|
||||
expect(mail.to).to eq(["test@example.com"])
|
||||
expect(mail.bcc).to eq(["torsten@webdev.camp"])
|
||||
expect(mail.bcc).to eq(["info@webdev.camp"])
|
||||
expect(mail.from).to eq(["info@webdev.camp"])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue