From d5de94d6b73f4f73acacc79ba17ebf78a107834e Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 15 Oct 2009 00:21:55 -0700 Subject: Fix AM tests by configuring AV --- actionmailer/test/abstract_unit.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionmailer/test') diff --git a/actionmailer/test/abstract_unit.rb b/actionmailer/test/abstract_unit.rb index 69af5d90a9..a226054194 100644 --- a/actionmailer/test/abstract_unit.rb +++ b/actionmailer/test/abstract_unit.rb @@ -20,6 +20,8 @@ ActiveSupport::Deprecation.debug = true ActionView::Template.register_template_handler :haml, lambda { |template| "Look its HAML!".inspect } ActionView::Template.register_template_handler :bak, lambda { |template| "Lame backup".inspect } +ActionView::Base.config = { :assets_dir => '/nowhere' } + $:.unshift "#{File.dirname(__FILE__)}/fixtures/helpers" FIXTURE_LOAD_PATH = File.join(File.dirname(__FILE__), 'fixtures') -- cgit v1.2.3