Permalink
Browse files

Fixed load path for actionmailer and activesupport tests to always lo…

…ad from local lib files.

[#983 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
1 parent f0e9074 commit 2def5b6314e1fbbaa789d1311e488ffac498703d madlep committed with jeremy Oct 4, 2008
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionmailer/test/abstract_unit.rb
  2. +1 −1 actionpack/test/abstract_unit.rb
@@ -1,6 +1,8 @@
require 'test/unit'
$:.unshift "#{File.dirname(__FILE__)}/../lib"
+$:.unshift "#{File.dirname(__FILE__)}/../../activesupport/lib"
+$:.unshift "#{File.dirname(__FILE__)}/../../actionpack/lib"
require 'action_mailer'
require 'action_mailer/test_case'
@@ -1,5 +1,5 @@
$:.unshift(File.dirname(__FILE__) + '/../lib')
-$:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib/active_support')
+$:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib')
$:.unshift(File.dirname(__FILE__) + '/fixtures/helpers')
require 'yaml'

0 comments on commit 2def5b6

Please sign in to comment.