Update to rails 5.0.4
[rails.git] / lib / tasks / testing.rake
index ffee7f050716f647146482a84a9e4f6ba5e4c4de..3d933a3aa3037305ee2232beeba94c9d1280238c 100644 (file)
@@ -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