Sha256: 377feb85844ae01c9179f152cc8aae9eb80b0a6b7944160891fee2cbbd5d0d9d
Contents?: true
Size: 432 Bytes
Versions: 5
Compression:
Stored size: 432 Bytes
Contents
require 'test_helper' class EmailSenderTest < Test::Unit::TestCase def test_email_configuration_with_strings p = ErrorStalker::Plugin::EmailSender.new(nil, {'to' => nil, 'from' => nil, 'delivery_method' => 'sendmail'}) e = ErrorStalker::ExceptionReport.new(:exception => 'test', :application => 'test', :data => {}) mail = p.build_email(e, nil) assert_equal Mail::Sendmail, mail.delivery_method.class end end
Version data entries
5 entries across 5 versions & 1 rubygems