]> git.openstreetmap.org Git - rails.git/blobdiff - lib/tasks/testing.rake
Don't add system tests if the user specified which tests to run
[rails.git] / lib / tasks / testing.rake
index 6335adf876da70ca13d8bdc6327c6a6e001337ff..c9b384cfe48e8ee9c4067949759dd20021bf5cd9 100644 (file)
@@ -1,3 +1,7 @@
+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"