Sha256: 3f3c24b166e2e51d086807373682953f70d6724049a39745e1942c5e5fa9e962

Contents?: true

Size: 520 Bytes

Versions: 2

Compression:

Stored size: 520 Bytes

Contents

# test/test_helper.rb

ENV["TEST"] = 'true'
ENV["DATABASE_URL"] ||= "postgres:///queue_classic_test"

$:.unshift File.expand_path("../../lib")
require 'rubygems'
require 'minitest/autorun'
require "minitest/reporters"
require 'pry'
require 'time'
require 'action_mailer'
require 'qc-mailer'

MiniTest::Reporters.use! [MiniTest::Reporters::SpecReporter.new]

ActionMailer::Base.delivery_method = :test
# ActionMailer::Base.perform_deliveries = false

Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qc-mailer-0.0.2 test/test_helper.rb
qc-mailer-0.0.1 test/test_helper.rb