discourse/spec/mailers/test_mailer_spec.rb
2013-02-26 07:31:35 +03:00

16 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