I have no repro here, have you started from a clean slate? Try:
cd discourse sudo rm -fr data d/shutdown_dev d/boot_dev --init
Then visit localhost:9292/qunit
localhost:9292/qunit
Works fine here.