In Ember Data pre-1.0, you could access
createRecord directly from the class being created.
In Ember Data 1.0, you need a store object that is embedded in a controller or route.
Okay, but lets say I want to create a single record for the purposes of unit testing a model – what’s best way to get a data store so that I can create a record? I see the Ember Data tests using a utility method called
createStore – is that the way to go? What’s the best way to load that into my tests?