mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
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
|
||||
Rack::Server.start(config: "config.ru",
|
||||
AccessLog: [],
|
||||
environment: 'test',
|
||||
Port: port)
|
||||
exit
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user