small mail changes

This commit is contained in:
Torsten Ruger 2016-07-24 21:46:39 +03:00
parent aedf809341
commit e10b4c03d9
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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
---------------------------------------------------

View File

@ -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