Is there a way to create a DS.Model
object without using store.createRecord
?
EDIT
maybe I need to give some context.
I am writing an Ember Addon that has a few model
that are not bridged through the app/ directory and I want to write unit tests for those model
. The auto generated unit tests uses moduleForModel
helper which works fine if the model
is bridged. But since my models
are not bridged, they don't get merged to the dummy application's namespace and moduleForModel
helper couldn't find the model
.
This is why I wanted to be able to create model
without using store
object since I couldn't figure out a way to have access to store
without using moduleForModel
helper.