Sha256: 684254ab7855dec3936f91b6a1d1e1e6f47a0b9bbc59cfdf38cf297d28fcdb89

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'action_mailer'
require 'mailee'
require 'spec'
require 'spec/autorun'

Spec::Runner.configure do |config|
end

class Foo < ActionMailer::Base

  send_with_mailee

  default :from => "Maiz <maiz@softa.com.br>"

  def bar(date=Time.now)
    @greeting = "Hi"
    mail :date => date, :to => ["juanmaiz@gmail.com"]
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mailee-0.4.3 spec/am_spec_helper.rb
mailee-0.4.2 spec/am_spec_helper.rb