Sha256: d6d58ba534bc0dc69da35e622538c4ddd8a21bf166075b1a4ee2b2bea6992201
Contents?: true
Size: 660 Bytes
Versions: 3
Compression:
Stored size: 660 Bytes
Contents
require 'active_record' require 'active_support/core_ext' require 'aws-sdk' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ar_mailer_aws-0.0.4 | spec/spec_helper.rb |
ar_mailer_aws-0.0.3 | spec/spec_helper.rb |
ar_mailer_aws-0.0.2 | spec/spec_helper.rb |