diff --git a/actionmailer/test/delivery_method_test.rb b/actionmailer/test/delivery_method_test.rb index ebee23560a..0731512ea4 100644 --- a/actionmailer/test/delivery_method_test.rb +++ b/actionmailer/test/delivery_method_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' class DefaultDeliveryMethodMailer < ActionMailer::Base end diff --git a/actionmailer/test/mail_helper_test.rb b/actionmailer/test/mail_helper_test.rb index 70e5cb81d5..e94aeff074 100644 --- a/actionmailer/test/mail_helper_test.rb +++ b/actionmailer/test/mail_helper_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' module MailerHelper def person_name diff --git a/actionmailer/test/mail_render_test.rb b/actionmailer/test/mail_render_test.rb index 475735e7b0..fbcd1887e4 100644 --- a/actionmailer/test/mail_render_test.rb +++ b/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) diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index eb408f96cf..b90035f5f9 100755 --- a/actionmailer/test/mail_service_test.rb +++ b/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" diff --git a/actionmailer/test/quoting_test.rb b/actionmailer/test/quoting_test.rb index 14981571df..35a88705fd 100644 --- a/actionmailer/test/quoting_test.rb +++ b/actionmailer/test/quoting_test.rb @@ -1,4 +1,4 @@ -require "#{File.dirname(__FILE__)}/abstract_unit" +require 'abstract_unit' require 'tmail' require 'tempfile' diff --git a/actionmailer/test/test_helper_test.rb b/actionmailer/test/test_helper_test.rb index d361e23a8e..ab14bcc561 100644 --- a/actionmailer/test/test_helper_test.rb +++ b/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 diff --git a/actionmailer/test/tmail_test.rb b/actionmailer/test/tmail_test.rb index b40d8945c5..718990e79e 100644 --- a/actionmailer/test/tmail_test.rb +++ b/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 diff --git a/actionmailer/test/url_test.rb b/actionmailer/test/url_test.rb index 5647869622..71286bd1cf 100644 --- a/actionmailer/test/url_test.rb +++ b/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 @@ class ActionMailerUrlTest < Test::Unit::TestCase assert_not_nil ActionMailer::Base.deliveries.first assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded end -end \ No newline at end of file +end