X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eab2eeaa47b2aa8c7f52371f9bfdd60711a41fb6..a19a7f2baeb7662a33c948ee844756f3576cffa3:/lib/tasks/testing.rake diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 7a915c228..3d933a3aa 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -1,5 +1,6 @@ namespace :test do - Rails::TestTask.new(lib: "test:prepare") do |t| - t.pattern = 'test/lib/**/*_test.rb' + task "lib" => "test:prepare" do + $LOAD_PATH << "test" + Minitest.rake_run(["test/lib"]) end end