mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
require abstract_unit directly since test is in load path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
9d755f1983
commit
1ad87adc9f
8 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
require 'abstract_unit'
|
||||
|
||||
class DefaultDeliveryMethodMailer < ActionMailer::Base
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
require 'abstract_unit'
|
||||
|
||||
module MailerHelper
|
||||
def person_name
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
require 'abstract_unit'
|
||||
|
||||
class RenderMailer < ActionMailer::Base
|
||||
def inline_template(recipient)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
require 'abstract_unit'
|
||||
|
||||
class FunkyPathMailer < ActionMailer::Base
|
||||
self.template_root = "#{File.dirname(__FILE__)}/fixtures/path.with.dots"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
require 'abstract_unit'
|
||||
require 'tmail'
|
||||
require 'tempfile'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/abstract_unit'
|
||||
require 'abstract_unit'
|
||||
|
||||
class TestHelperMailer < ActionMailer::Base
|
||||
def test
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
require 'abstract_unit'
|
||||
|
||||
class TMailMailTest < Test::Unit::TestCase
|
||||
def test_body
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "#{File.dirname(__FILE__)}/abstract_unit"
|
||||
require 'abstract_unit'
|
||||
|
||||
class TestMailer < ActionMailer::Base
|
||||
|
||||
|
@ -73,4 +73,4 @@ class ActionMailerUrlTest < Test::Unit::TestCase
|
|||
assert_not_nil ActionMailer::Base.deliveries.first
|
||||
assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue