Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 55812291952382fd29be57a9806c151f43cf1c43 1 parent 5f56d90
@jeremy jeremy authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  activeresource/Rakefile
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.