X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d581fbfaf12c21145985cbc98f41cd8ac4e0a88e..a0dd71112a910f68383392bc9efaa26b8e042d3e:/lib/tasks/testing.rake diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 924698c7f..720530256 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -1,5 +1,5 @@ -task "test" do - Rails::TestUnit::Runner.rake_run(["test/system"]) +task :test => :environment do + Rails::TestUnit::Runner.rake_run(["test/system"]) unless ENV.key?("TEST") end namespace :test do