X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0bd1c28bed9a0756c61037947d5a9dccd5066f00..1eedd481146bc30cd2548c44399949cbfa2d576b:/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