]> git.openstreetmap.org Git - rails.git/blobdiff - lib/tasks/testing.rake
Merge pull request #2266 from systemed/patch-2
[rails.git] / lib / tasks / testing.rake
index 3d933a3aa3037305ee2232beeba94c9d1280238c..c9b384cfe48e8ee9c4067949759dd20021bf5cd9 100644 (file)
@@ -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