Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 1ad87adc9f17ef004b0005725a456b1d3f141734 1 parent 9d755f1
@jeremy jeremy authored
View
2  actionmailer/test/delivery_method_test.rb
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/abstract_unit"
+require 'abstract_unit'
class DefaultDeliveryMethodMailer < ActionMailer::Base
end
View
2  actionmailer/test/mail_helper_test.rb
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/abstract_unit"
+require 'abstract_unit'
module MailerHelper
def person_name
View
2  actionmailer/test/mail_render_test.rb
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/abstract_unit"
+require 'abstract_unit'
class RenderMailer < ActionMailer::Base
def inline_template(recipient)
View
2  actionmailer/test/mail_service_test.rb
@@ -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"
View
2  actionmailer/test/quoting_test.rb
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/abstract_unit"
+require 'abstract_unit'
require 'tmail'
require 'tempfile'
View
2  actionmailer/test/test_helper_test.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/abstract_unit'
+require 'abstract_unit'
class TestHelperMailer < ActionMailer::Base
def test
View
2  actionmailer/test/tmail_test.rb
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/abstract_unit"
+require 'abstract_unit'
class TMailMailTest < Test::Unit::TestCase
def test_body
View
4 actionmailer/test/url_test.rb
@@ -1,4 +1,4 @@
-require "#{File.dirname(__FILE__)}/abstract_unit"
+require 'abstract_unit'
class TestMailer < ActionMailer::Base
@@ -73,4 +73,4 @@ def test_signed_up_with_url
assert_not_nil ActionMailer::Base.deliveries.first
assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.