Browse files

Set mailer template_root as absolute path [#2263 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 97e07a8 commit 0022fa309b6dd88d4019d1a94e6cd89866695349 @divoxx divoxx committed with josevalim Mar 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionmailer/test/abstract_unit.rb
View
2 actionmailer/test/abstract_unit.rb
@@ -17,7 +17,7 @@
$:.unshift "#{File.dirname(__FILE__)}/fixtures/helpers"
ActionView::Base.cache_template_loading = true
-FIXTURE_LOAD_PATH = File.join(File.dirname(__FILE__), 'fixtures')
+FIXTURE_LOAD_PATH = File.expand_path(File.join(File.dirname(__FILE__), 'fixtures'))
ActionMailer::Base.template_root = FIXTURE_LOAD_PATH
class MockSMTP

0 comments on commit 0022fa3

Please sign in to comment.