How do I create/get a model when doing a controller unit test?


#1

I’m using Ember CLI and am in the middle of writing unit tests. I’m using:

moduleFor('controller:credit', ....

in my test I need a instance of my model.

How do i get an instance of my model??