]> git.openstreetmap.org Git - rails.git/blobdiff - lib/tasks/testing.rake
Update bundle
[rails.git] / lib / tasks / testing.rake
index 3d933a3aa3037305ee2232beeba94c9d1280238c..720530256e59494ceac956fb43d828c177031e90 100644 (file)
@@ -1,6 +1,10 @@
+task :test => :environment do
+  Rails::TestUnit::Runner.rake_run(["test/system"]) unless ENV.key?("TEST")
+end
+
 namespace :test do
   task "lib" => "test:prepare" do
     $LOAD_PATH << "test"
 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
   end
 end