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

Store acceptance test application in test context. #4478

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jul 17, 2015

This allows custom test assertions to access the application without manually passing in the application.

This allows custom test assertions to access the application without
manually passing in the application.
@stefanpenner
Copy link
Contributor

@rwjblue do the contexts get released, so we don't leak the whole app?

@rwjblue
Copy link
Member Author

rwjblue commented Jul 18, 2015

Both QUnit and Mocha create a new context for each test.

stefanpenner added a commit that referenced this pull request Jul 18, 2015
…est-context

Store acceptance test application in test context.
@stefanpenner stefanpenner merged commit 5766abb into ember-cli:master Jul 18, 2015
@rwjblue rwjblue deleted the store-application-instance-in-test-context branch July 18, 2015 16:41
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.

None yet

4 participants