A platform for community discussion. Free, open, simple.
DEV: sets rack server to test env when using rake qunit:test (#7554)
Joffrey JAFFEUX4a9756ff3fe4
diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rakeindex 4968840018d..dfb877e1f76 100644--- a/lib/tasks/qunit.rake+++ b/lib/tasks/qunit.rake@@ -46,6 +46,7 @@ task "qunit:test", [:timeout, :qunit_path] => :environment do |_, args|Discourse.after_forkRack::Server.start(config: "config.ru",AccessLog: [],+ environment: 'test',Port: port)exitend