Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

activerecord test load paths

  • Loading branch information...
commit 5cc17da8946abbaa86a4d9c91dcd4b05a289493f 1 parent 4377dee
@josh josh authored
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'
Please sign in to comment.
Something went wrong with that request. Please try again.