From: Tom Hughes Date: Sat, 9 Dec 2017 10:52:19 +0000 (+0000) Subject: Don't add system tests if the user specified which tests to run X-Git-Tag: live~3185 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/31133683b41abc2675e272b0783a8f5b0ef7892b?hp=4d7411eabd312ee2be9891d8f717aa7b77ea1e77 Don't add system tests if the user specified which tests to run --- diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 924698c7f..c9b384cfe 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"]) + Rails::TestUnit::Runner.rake_run(["test/system"]) unless ENV.key?("TEST") end namespace :test do