X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/81deb3533118f8a14b632a4ad05213b896a892f8..399ade116adb8250bbf92efa8dfeb3ca1090c7e4:/lib/tasks/testing.rake?ds=sidebyside 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