mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
15 lines
354 B
Ruby
15 lines
354 B
Ruby
require "spec_helper"
|
|
|
|
describe TestMailer do
|
|
|
|
describe "send_test" do
|
|
subject { TestMailer.send_test('marcheline@adventuretime.ooo') }
|
|
|
|
its(:to) { should == ['marcheline@adventuretime.ooo'] }
|
|
its(:subject) { should be_present }
|
|
its(:body) { should be_present }
|
|
its(:from) { should == [SiteSetting.notification_email] }
|
|
end
|
|
|
|
|
|
end
|