aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-10-15 00:21:55 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-10-15 00:22:15 -0700
commitd5de94d6b73f4f73acacc79ba17ebf78a107834e (patch)
tree82da256129284e3e8ffa27228d56b5bec30bfc9d /actionmailer/test
parentdeafa10e6cb41c68ee1f7452a35fe89470b26b40 (diff)
downloadrails-d5de94d6b73f4f73acacc79ba17ebf78a107834e.tar.gz
rails-d5de94d6b73f4f73acacc79ba17ebf78a107834e.tar.bz2
rails-d5de94d6b73f4f73acacc79ba17ebf78a107834e.zip
Fix AM tests by configuring AV
Diffstat (limited to 'actionmailer/test')
-rw-r--r--actionmailer/test/abstract_unit.rb2
1 files changed, 2 insertions, 0 deletions
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')