Browse files

Fix AM tests by configuring AV

  • Loading branch information...
1 parent deafa10 commit d5de94d6b73f4f73acacc79ba17ebf78a107834e @jeremy jeremy committed Oct 15, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionmailer/test/abstract_unit.rb
View
2 actionmailer/test/abstract_unit.rb
@@ -20,6 +20,8 @@
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')

0 comments on commit d5de94d

Please sign in to comment.