Sha256: bd4c1fdf1b55c2b5220253910b0593f2cb28e92f77f1c0d925cc852d01560798
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
require 'spec_helper' describe CheetahMail::NullMessenger do context "#do_send" do it "should do nothing" do # by using the fakeweb gem we're already ensuring that no http requests are made. # calling the method and seeing that no http requests are made is good enough for me. @messenger = CheetahMail::NullMessenger.new({ :host => "foo.com", :username => "foo_user", :password => "foo", :aid => "123", :whitelist_filter => /@test\.com$/, :enable_tracking => false, }) @messenger.do_send(Message.new("/",{})) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cheetah_mail-0.6.0 | spec/null_messenger_spec.rb |