summaryrefslogtreecommitdiff
path: root/test/testunit/test_rake_integration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/testunit/test_rake_integration.rb')
-rw-r--r--test/testunit/test_rake_integration.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testunit/test_rake_integration.rb b/test/testunit/test_rake_integration.rb
index 86a0cf88297..0770404287d 100644
--- a/test/testunit/test_rake_integration.rb
+++ b/test/testunit/test_rake_integration.rb
@@ -18,6 +18,7 @@ class RakeIntegration < MiniTest::Unit::TestCase
filename = File.join dir, 'testing.rb'
File.open(filename, 'wb') do |f|
f.write <<-eotest
+$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
raise 'loaded twice' if defined?(FooTest)
class FooTest; end