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

Compatibility with Ember 1.13+ #60

Merged
merged 2 commits into from
Jun 14, 2015
Merged

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Jun 14, 2015

This cleans up deprecations for use with Ember 1.13+, plus one small
private API break (the changed Resolver.create() call).

The removed tests were all testing container resolution of things that
are deprecated. There is still coverage for container resolution of
Components, which should be sufficient.

The test suite still emits a several deprecations, but they are all
coming from Ember Data and will need to get fixed there.

I worked on this PR with @stefanpenner.

This PR also supersedes #42, which was ready to go and relevant.

@stefanpenner
Copy link
Member

LGTM

@rwjblue
Copy link
Member

rwjblue commented Jun 14, 2015

Why are all the tests failing?

@ef4
Copy link
Contributor Author

ef4 commented Jun 14, 2015

Ha, because I leaked ES6, and it happened to work natively in Chrome.

This cleans up deprecations for use with Ember 1.13+, plus one small
private API break (the changed `Resolver.create()` call).

The removed tests were all testing container resolution of things that
are deprecated. There is still coverage for container resolution of
Components, which should be sufficient.

The test suite still emits a several deprecations, but they are all
coming from Ember Data and will need to get fixed there.

I paired with @stefanpenner for this PR.
@ef4
Copy link
Contributor Author

ef4 commented Jun 14, 2015

Fixed, Travis is green.

equal(component._state, 'inDOM');
});

test('can lookup default Ember.Views in its layout', function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should replace this one with a {{component}} helper version (not blocking this PR though).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, I will work on that, since I also noticed another incompatibility with the new deprecations.

rwjblue added a commit that referenced this pull request Jun 14, 2015
Compatibility with Ember 1.13+
@rwjblue rwjblue merged commit 4a99694 into emberjs:master Jun 14, 2015
ef4 added a commit to ef4/ember-test-helpers that referenced this pull request Jun 15, 2015
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.

3 participants