X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..1c5642637a87ab250d2a1204cc83a578e7aa29f1:/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