X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..cb87f02642d0097ebc067ca1f9371dde274a41e3:/lib/tasks/testing.rake diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index ffee7f050..924698c7f 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -1,5 +1,10 @@ +task "test" do + Rails::TestUnit::Runner.rake_run(["test/system"]) +end + 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" + Rails::TestUnit::Runner.rake_run(["test/lib"]) end end