discourse/spec/mailers/test_mailer_spec.rb

16 lines
354 B
Ruby
Raw Normal View History

2013-02-05 13:16:51 -06:00
require "spec_helper"
describe TestMailer do
2013-02-25 10:42:20 -06:00
2013-02-05 13:16:51 -06:00
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