-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IsolatedContainer doesn't normalize type names #84
Comments
I think the same thing just bit me as well. When I specify needs: ['serializer:embedd-switch-port-mapping'] any the code I test calls |
This was referenced Sep 23, 2014
Closed via emberjs/ember-test-helpers#2 - thanks @marcoow ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The IsolatedContainer doesn't normalize type keys from
oneThing
toone-thing
as the regular container would do.This is an issue because ember-data accepts relationship using camelcased model names, so configuring a test with
needs: ['model:one-thing']
and usingoneThing: DS.belongsTo('oneThing')
in a model definition will cause the resolver to crash when looking foroneThing
(throughstore.modelFor
).Based on what ember / ember-cli does, this patch fixes the issue for me, but I do not understand the resolver well enough to be confident in that change.
The text was updated successfully, but these errors were encountered: