You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing an issue in this JSBIN http://jsbin.com/rajikike/2/edit where it looks like the store is not being reset when I call App.reset().
If you click Run JS several times you'll see the assertion, all green, assertion... and so on.
The assertion is: TypeError: 'undefined' is not an object (evaluating 'data.links')
[Debug] DEBUG: ------------------------------- (ember.js, line 3911)
[Debug] DEBUG: Ember : 1.6.1 (ember.js, line 3911)
[Debug] DEBUG: Ember Data : 1.0.0-beta.8.2a68c63a (ember.js, line 3911)
[Debug] DEBUG: Handlebars : 1.2.1 (ember.js, line 3911)
[Debug] DEBUG: jQuery : 1.10.2 (ember.js, line 3911)
[Debug] DEBUG: ------------------------------- (ember.js, line 3911)
The text was updated successfully, but these errors were encountered:
This looks to me like a bug in ember-qunit not Ember Data. I opened an issue on that repo to confirm https://github.com/rwjblue/ember-qunit/issues/81. But it looks to me like the this.subject() helper is keeping a reference to a shared container for all the tests.
Looks like @bmac pin-pointed the issue (thank you!). Closing here, in favor of fixing it in ember-qunit. If I find additional problems while fixing that issue, I'll refile.
I'm seeing an issue in this JSBIN http://jsbin.com/rajikike/2/edit where it looks like the store is not being reset when I call App.reset().
If you click Run JS several times you'll see the assertion, all green, assertion... and so on.
The assertion is:
TypeError: 'undefined' is not an object (evaluating 'data.links')
The text was updated successfully, but these errors were encountered: