X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..01a506a254cf53700c201d40b4287e5aae02af2c:/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