1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Action Mailer setup obviated by test bundle

This commit is contained in:
Jeremy Kemper 2010-03-02 13:41:02 -08:00
parent c2dbc391a9
commit ecfd6d90ee

View file

@ -6,18 +6,7 @@
require 'abstract_unit'
require 'controller/fake_controllers'
unless defined?(ActionMailer)
begin
$:.unshift("#{File.dirname(__FILE__)}/../../../actionmailer/lib")
require 'action_mailer'
rescue LoadError => e
raise unless e.message =~ /action_mailer/
require 'rubygems'
gem 'actionmailer'
end
end
require 'action_mailer'
ActionMailer::Base.view_paths = FIXTURE_LOAD_PATH
class AssertSelectTest < ActionController::TestCase