From 3f8409193716669b9fa61ac74ae1c92cfde00785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Fri, 29 Jan 2010 16:16:01 +0100 Subject: ActionMailer should depend just on AbstractController. --- actionmailer/test/old_base/url_test.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionmailer/test/old_base') diff --git a/actionmailer/test/old_base/url_test.rb b/actionmailer/test/old_base/url_test.rb index 5affb47997..ad8b1109c9 100644 --- a/actionmailer/test/old_base/url_test.rb +++ b/actionmailer/test/old_base/url_test.rb @@ -1,9 +1,12 @@ require 'abstract_unit' +require 'action_controller' class WelcomeController < ActionController::Base end class TestMailer < ActionMailer::Base + include ActionController::UrlFor + default_url_options[:host] = 'www.basecamphq.com' def signed_up_with_url(recipient) -- cgit v1.2.3