{"action":"created","issue":{"url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/issues/196","repository_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy","labels_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/issues/196/comments","events_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/issues/196/events","html_url":"https://github.com/danielspaniel/ember-data-factory-guy/issues/196","id":153564455,"number":196,"title":"\"getModelPayload isProxy get add unwrap\".w is not a function","user":{"login":"oniofchaos","id":1635820,"avatar_url":"https://avatars.githubusercontent.com/u/1635820?v=3","gravatar_id":"","url":"https://api.github.com/users/oniofchaos","html_url":"https://github.com/oniofchaos","followers_url":"https://api.github.com/users/oniofchaos/followers","following_url":"https://api.github.com/users/oniofchaos/following{/other_user}","gists_url":"https://api.github.com/users/oniofchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/oniofchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oniofchaos/subscriptions","organizations_url":"https://api.github.com/users/oniofchaos/orgs","repos_url":"https://api.github.com/users/oniofchaos/repos","events_url":"https://api.github.com/users/oniofchaos/events{/privacy}","received_events_url":"https://api.github.com/users/oniofchaos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-07T01:07:22Z","updated_at":"2016-05-09T17:40:39Z","closed_at":null,"body":"Trying to run the following code in a component integration test:\r\n```javascript\r\n  let accountSettings = make('account-settings'); // factory defined in tests/factories/account-settings.js\r\n  mockQueryRecord('account-settings', {}).returns({model: accountSettings});\r\n```\r\nand am getting the error in the title. Looks like it's related to [this](https://github.com/danielspaniel/ember-data-factory-guy/blob/5bb4bd4c2637ab11c4fff111a38cd5c725b9449a/addon/payload/json-payload.js#L20) line? Not sure what to do here.\r\n\r\nUsing ember-data-factory-guy version 2.5.3."},"comment":{"url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/issues/comments/217934600","html_url":"https://github.com/danielspaniel/ember-data-factory-guy/issues/196#issuecomment-217934600","issue_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/issues/196","id":217934600,"user":{"login":"oniofchaos","id":1635820,"avatar_url":"https://avatars.githubusercontent.com/u/1635820?v=3","gravatar_id":"","url":"https://api.github.com/users/oniofchaos","html_url":"https://github.com/oniofchaos","followers_url":"https://api.github.com/users/oniofchaos/followers","following_url":"https://api.github.com/users/oniofchaos/following{/other_user}","gists_url":"https://api.github.com/users/oniofchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/oniofchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oniofchaos/subscriptions","organizations_url":"https://api.github.com/users/oniofchaos/orgs","repos_url":"https://api.github.com/users/oniofchaos/repos","events_url":"https://api.github.com/users/oniofchaos/events{/privacy}","received_events_url":"https://api.github.com/users/oniofchaos/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T17:40:39Z","updated_at":"2016-05-09T17:40:39Z","body":"I get `TypeError: [1,2,1].uniq is not a function`"}}