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

Test failures in referencing app #96

Open
technomage opened this issue Apr 19, 2015 · 3 comments
Open

Test failures in referencing app #96

technomage opened this issue Apr 19, 2015 · 3 comments

Comments

@technomage
Copy link

When trying to test components that use the ember-idx-form components I run into an error for layout components/em-form-group not found. If I comment out the layoutName attribute of that component it works for both tests, and when running the app. With the layoutName property present it can not find the layout when running tests, probably some difference in the way the parts are composed in the isolated environment of a component unit test.

@technomage
Copy link
Author

Commenting out the layoutName allowed it to render a component, but the content of the form group is missing (predictably). Unsure how to get the component to find the template at this point. Go look at any component unit tests that reference ember-idx-form next.

@asaf
Copy link
Contributor

asaf commented May 11, 2015

@technomage What tests are you talking about?

@technomage
Copy link
Author

Application tests in app that uses the addon. Converting the addon to use layout and importing each template resolved the issue. See my pull request in ember-rapid-forms

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

No branches or pull requests

2 participants