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

Pass the selector to this.$(...) helper in component tests #54

Merged
merged 1 commit into from May 27, 2014
Merged

Pass the selector to this.$(...) helper in component tests #54

merged 1 commit into from May 27, 2014

Conversation

chancancode
Copy link
Member

I tried doing this.$('.some-child-element-in-the-component') in my component tests and it actually ignored the selector and just returned the component, which was very confusing. I applied this patch on my setup and it seems to work fine.

However, when I tried to run the tests locally, I'm getting a lot of unrelated (I think?) failures/errors, so I'm unsure if I actually broke something.

stefanpenner added a commit that referenced this pull request May 27, 2014
…unction

Pass the selector to this.$(...) helper in component tests
@stefanpenner stefanpenner merged commit c0ed43a into emberjs:master May 27, 2014
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