Skip to content
Browse files

activerecord test load paths

  • Loading branch information...
1 parent 4377dee commit 5cc17da8946abbaa86a4d9c91dcd4b05a289493f @josh josh committed Feb 28, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 activerecord/test/cases/helper.rb
View
3 activerecord/test/cases/helper.rb
@@ -1,5 +1,8 @@
require File.expand_path('../../../../load_paths', __FILE__)
+lib = File.expand_path("#{File.dirname(__FILE__)}/../../lib")
+$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)
+
require 'config'
require 'test/unit'

0 comments on commit 5cc17da

Please sign in to comment.
Something went wrong with that request. Please try again.