Sha256: e822c3db615bef766f2ffd31030cb0d89e9558ec4b446f89c6bcaca6cbab8f50
Contents?: true
Size: 941 Bytes
Versions: 1
Compression:
Stored size: 941 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe ActiveWrapper::Db do before(:each) do $db, $log, $mail = ActiveWrapper.setup( :base => SPEC + '/example_project', :env => 'test' ) end it "should set instance variables" do $mail.base.should == '/Users/winton/Sites/repositories/active/active_wrapper/spec/example_project' $mail.config.should == { :smtp => { :address => "smtp.gmail.com", :authentication => :plain, :domain => "mydomain.com", :password => "password", :port => 587, :enable_starttls_auto => true, :user_name => "test@mydomain.com" }, :imap => { :password => "password", :port => 993, :server => "imap.gmail.com", :ssl => true, :use_login => true, :username => "test@mydomain.com" } } $mail.env.should == 'test' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_wrapper-0.2.3 | spec/active_wrapper/mail_spec.rb |