diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-06 10:23:58 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-02-06 10:23:58 -0800 |
commit | 55812291952382fd29be57a9806c151f43cf1c43 (patch) | |
tree | 09697ec60a11f92cb4a3f954ce493f1321fa0ded /activeresource/Rakefile | |
parent | 5f56d90085ea484b99e080c231c17ddc6cda71d1 (diff) | |
download | rails-55812291952382fd29be57a9806c151f43cf1c43.tar.gz rails-55812291952382fd29be57a9806c151f43cf1c43.tar.bz2 rails-55812291952382fd29be57a9806c151f43cf1c43.zip |
Add sibling AS to load path for testing to ensure gems aren't used
Diffstat (limited to 'activeresource/Rakefile')
-rw-r--r-- | activeresource/Rakefile | 2 |
1 files changed, 2 insertions, 0 deletions
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 |