X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5f62b0c02ef381f4617a4201197e34998638308e..97d1d110d172f410214adac8a49e0c984694a016:/apps/workbench/test/test_helper.rb diff --git a/apps/workbench/test/test_helper.rb b/apps/workbench/test/test_helper.rb index 260bff043c..7f23988837 100644 --- a/apps/workbench/test/test_helper.rb +++ b/apps/workbench/test/test_helper.rb @@ -1,4 +1,5 @@ -ENV["RAILS_ENV"] = "test" +ENV["RAILS_ENV"] = "test" if !ENV["RAILS_ENV"] + unless ENV["NO_COVERAGE_TEST"] begin require 'simplecov' @@ -151,4 +152,6 @@ class ApiServerForTests end end -ApiServerForTests.run +if ENV["RAILS_ENV"].eql? 'test' + ApiServerForTests.run +end