X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..d67b0578511e585fabebeb4800cb1706e63b23fb:/lib/tasks/testing.rake?ds=inline diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 3d933a3aa..c9b384cfe 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -1,6 +1,10 @@ +task "test" do + Rails::TestUnit::Runner.rake_run(["test/system"]) unless ENV.key?("TEST") +end + namespace :test do task "lib" => "test:prepare" do $LOAD_PATH << "test" - Minitest.rake_run(["test/lib"]) + Rails::TestUnit::Runner.rake_run(["test/lib"]) end end