Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ensure activemodel lib is setup correctly

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