Skip to content
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

[CLEANUP] use methods from utils module directly #4030

Merged
merged 1 commit into from
Dec 28, 2015
Merged

[CLEANUP] use methods from utils module directly #4030

merged 1 commit into from
Dec 28, 2015

Conversation

pangratz
Copy link
Member

Since ember-data is a proper addon now, the utility functions in
ember-data/-private/utils can now be imported and invoked within the
tests.

assertPolymorphicType() is now tested directly instead of relying on
it being used within Model.get('relationship').add().

modelHasAttributeOrRelationshipNamedType hasn't been tested since it
couldn't be imported in the tests.

Since ember-data is a proper addon now, the utility functions in
`ember-data/-private/utils` can now be imported and invoked within the
tests.

`assertPolymorphicType()` is now tested directly instead of relying on
it being used within `Model.get('relationship').add()`.

`modelHasAttributeOrRelationshipNamedType` hasn't been tested since it
couldn't be imported in the tests.
bmac added a commit that referenced this pull request Dec 28, 2015
[CLEANUP] use methods from utils module directly
@bmac bmac merged commit ef99f99 into emberjs:master Dec 28, 2015
@pangratz pangratz deleted the cleanup-utils-tests branch December 28, 2015 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants