]> git.openstreetmap.org Git - rails.git/blobdiff - lib/tasks/testing.rake
Merge remote-tracking branch 'upstream/pull/2471'
[rails.git] / lib / tasks / testing.rake
index 6335adf876da70ca13d8bdc6327c6a6e001337ff..720530256e59494ceac956fb43d828c177031e90 100644 (file)
@@ -1,3 +1,7 @@
+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"