Permalink
Browse files

Do not add /test to the load path for tests.

  • Loading branch information...
1 parent da4b5a5 commit 7d80d3a1c835a8c021559b0b43f159a7d5fb0b3e Alexander Kern committed Sep 17, 2012
View
@@ -3,13 +3,11 @@ require "rake/testtask"
task :default => :test
Rake::TestTask.new do |t|
- t.libs << "test"
t.pattern = "test/unit/**/*_test.rb"
t.verbose = true
end
Rake::TestTask.new("test:gallery") do |t|
- t.libs << "test"
t.pattern = "test/gallery/**/*_test.rb"
t.verbose = true
end
View
@@ -1,4 +1,4 @@
-require "test_helper"
+require_relative "../test_helper"
module MiniTestReportersTest
class BadTest < TestCase
@@ -1,4 +1,4 @@
-require "test_helper"
+require_relative "../test_helper"
module MiniTestReportersTest
class GoodTest < TestCase
@@ -1,4 +1,4 @@
-require "test_helper"
+require_relative "../../test_helper"
module MiniTestReportersTest
class BacktraceFilterTest < TestCase
@@ -1,4 +1,4 @@
-require "test_helper"
+require_relative "../../test_helper"
module MiniTestReportersTest
class ReporterTest < TestCase
@@ -1,4 +1,4 @@
-require "test_helper"
+require_relative "../../test_helper"
module MiniTestReportersTest
class ReportersTest < TestCase

0 comments on commit 7d80d3a

Please sign in to comment.