4754: support RAILS_ENV=performance
[arvados.git] / apps / workbench / test / test_helper.rb
index 65eed789c87fada30b4c6d4a75d2b6d9f9166dcf..1e7b8eb245a9925d2d5137f03c62fd408ea3ae5d 100644 (file)
@@ -1,4 +1,4 @@
-ENV["RAILS_ENV"] = "test" if (ENV["RAILS_ENV"] != "diagnostics")
+ENV["RAILS_ENV"] = "test" if (ENV["RAILS_ENV"] != "diagnostics" and ENV["RAILS_ENV"] != "performance")
 
 unless ENV["NO_COVERAGE_TEST"]
   begin