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:
parent
c2dbc391a9
commit
ecfd6d90ee
1 changed files with 1 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue