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

ember-testing: app boots into "/", causes visit("/") to not trigger model hook #2997

Closed
ebryn opened this issue Jul 15, 2013 · 1 comment
Closed
Labels
Milestone

Comments

@ebryn
Copy link
Member

ebryn commented Jul 15, 2013

@toranb noticed trouble mocking AJAX requests with ember-testing and upon inspection I found that his trouble was caused by App.reset() booting the app into the root route which caused the model hook to be called before his AJAX mocking code. Calling visit("/") after this does nothing because we're already in that state.

@stefanpenner
Copy link
Member

closing this in favour of: #3026

stefanpenner added a commit that referenced this issue Aug 25, 2013
added ember-testing integration test for issue #2997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants