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

assert passed into beforeEach is not refreshed #157

Closed
kamal opened this issue Mar 22, 2015 · 2 comments · Fixed by #158
Closed

assert passed into beforeEach is not refreshed #157

kamal opened this issue Mar 22, 2015 · 2 comments · Fixed by #158

Comments

@kamal
Copy link

kamal commented Mar 22, 2015

Here's a jsbin illustrating the issue: http://emberjs.jsbin.com/wefivoquxi/3/edit

When the second test runs, it's assert.expect is not attached to the same assert sent in to beforeEach, thereby failing the expect assertion.

@kamal kamal changed the title assert passed into beforeEach is not refreshed assert passed into beforeEach is not refreshed Mar 22, 2015
@rwjblue
Copy link
Member

rwjblue commented Mar 22, 2015

Thank you very much for the demo JSBin, it made this pretty easy to track down.

Should be fixed with https://github.com/rwjblue/ember-qunit/pull/158.

@rwjblue
Copy link
Member

rwjblue commented Mar 22, 2015

Fix has been released in v0.2.12

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 a pull request may close this issue.

2 participants