Sha256: f7051f40a4e3a1a0df9668d2abc1c71777a86ad903519b8d256e0784e72700b5
Contents?: true
Size: 594 Bytes
Versions: 1
Compression:
Stored size: 594 Bytes
Contents
require 'spec_helper' describe Mail::Configuration do describe "network configurations" do it "should be available from the Mail.defaults method" do Mail.defaults { delivery_method :smtp, { :address => 'some.host' } } Mail.delivery_method.settings[:address].should == 'some.host' end it "should configure sendmail" do Mail.defaults { delivery_method :sendmail, :location => "/usr/bin/sendmail" } Mail.delivery_method.class.should == Mail::Sendmail Mail.delivery_method.settings[:location].should == "/usr/bin/sendmail" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-mail_exception-0.0.1 | vendor/mail/spec/mail/configuration_spec.rb |