mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
committed by
GitHub
parent
ba86e81aa0
commit
78049a820c
@@ -8,7 +8,6 @@ RSpec.describe UserMailer, type: :mailer do
|
||||
let(:mail) { UserMailer.notify_post_owner(comment: comment) }
|
||||
|
||||
it "renders the headers" do
|
||||
expect(mail.subject).to eq("[#{ENV.fetch('APP_NAME')}] New comment on #{post.title}")
|
||||
expect(mail.to).to eq(["notified@example.com"])
|
||||
expect(mail.from).to eq(["notifications@example.com"])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user