Sha256: 9fa38f15356fe1d1b9f5b74ab662d127c848b599ea44a58aa2a607dfb45d6419

Contents?: true

Size: 642 Bytes

Versions: 1

Compression:

Stored size: 642 Bytes

Contents

require 'active_record'
require 'active_support/core_ext'
require 'ar_mailer_aws'
require 'forgery'

ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')

ActiveRecord::Migration.verbose = false
ActiveRecord::Schema.define(:version => 1) do
  create_table :batch_emails do |t|
    t.string :from
    t.string :to
    t.text :mail, limit: 16777215
    t.datetime :last_send_attempt_at
    t.datetime :created_at
  end
end

#ActiveRecord::Base.logger = Logger.new(STDERR)

ArMailerAWS.setup do |config|
  #config.logger = Logger.new(STDERR)
end

class BatchEmail < ActiveRecord::Base
end

class CustomEmailClass
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ar_mailer_aws-0.0.1 spec/spec_helper.rb