Skip to content
Browse files

ensure activemodel lib is setup correctly

  • Loading branch information...
1 parent 1a2fba1 commit 4377deed35daead6d120207dd94f89d136025c1d @josh josh committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 activemodel/test/cases/helper.rb
View
3 activemodel/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 'active_model'

0 comments on commit 4377dee

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