When testing Ember code, without putting expectations in a Ember.run
callback, you'll get this error:
Failure/Error: Assertion Failed: You have turned on testing mode, which disabled the run-loop's autorun. You will need to wrap any code with asynchronous side-effects in an Ember.run
The error recommends wrapping expectations in Ember.run
:
describe 'something', ->