The flow goes from: - getting current user object - creating a POJO using some of the current user keys - passing this POJO around, which end up being used in message bus - the processing fn associated ens up doing User.create on this object will both create a User object, but also inject store in it, store is holding a reference to currentUser Object and... BOOM, we have an object holding a reference to the same object, which JSON.stringify used in prepareBody of pretender doesn't like. |
||
|---|---|---|
| .. | ||
| acceptance | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| core_plugins_tests.js | ||
| index.html | ||
| plugin_tests.js.erb | ||
| setup-tests.js | ||
| test_helper.js | ||
| test_starter.js | ||
| test-helper.js | ||
| theme_qunit_ember_jquery.js | ||
| theme_qunit_helper.js | ||
| theme_qunit_tests_vendor.js | ||
| theme_qunit_vendor.js | ||