From 55812291952382fd29be57a9806c151f43cf1c43 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 6 Feb 2009 10:23:58 -0800 Subject: Add sibling AS to load path for testing to ensure gems aren't used --- activeresource/Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activeresource/Rakefile b/activeresource/Rakefile index ef99caea67..6af2e6cfba 100644 --- a/activeresource/Rakefile +++ b/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 -- cgit v1.2.3