DEV: sets rack server to test env when using rake qunit:test (#7554)
This commit is contained in:
parent
d47bf8b6c4
commit
4a9756ff3f
|
@ -46,6 +46,7 @@ task "qunit:test", [:timeout, :qunit_path] => :environment do |_, args|
|
||||||
Discourse.after_fork
|
Discourse.after_fork
|
||||||
Rack::Server.start(config: "config.ru",
|
Rack::Server.start(config: "config.ru",
|
||||||
AccessLog: [],
|
AccessLog: [],
|
||||||
|
environment: 'test',
|
||||||
Port: port)
|
Port: port)
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue