mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 09:58:25 +00:00
This gets us closer to how newer Ember versions want to do things, but with a bit of Discourse flair. `acceptance` now takes a function as a parameter, and tests need to be declared in that new function context. A new helper, `needs`, is passed as a parameter. You can use it to set up the test the way you want.