Permalink
Browse files

Add sibling AS to load path for testing to ensure gems aren't used

  • Loading branch information...
1 parent 5f56d90 commit 55812291952382fd29be57a9806c151f43cf1c43 @jeremy jeremy committed Feb 6, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 activeresource/Rakefile
@@ -28,6 +28,8 @@ task :default => [ :test ]
# Run the unit tests
Rake::TestTask.new { |t|
+ activesupport_path = "#{File.dirname(__FILE__)}/../activesupport/lib"
+ t.libs << activesupport_path if File.directory?(activesupport_path)
t.libs << "test"
t.pattern = 'test/**/*_test.rb'
t.verbose = true

0 comments on commit 5581229

Please sign in to comment.