{"action":"opened","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/3972","labels_url":"https://api.github.com/repos/emberjs/data/issues/3972/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/3972/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/3972/events","html_url":"https://github.com/emberjs/data/issues/3972","id":120842202,"number":3972,"title":"Promise rejected before create model overriding defaults: registry.resolver.resolve is not a function","user":{"login":"offirgolan","id":575938,"avatar_url":"https://avatars.githubusercontent.com/u/575938?v=3","gravatar_id":"","url":"https://api.github.com/users/offirgolan","html_url":"https://github.com/offirgolan","followers_url":"https://api.github.com/users/offirgolan/followers","following_url":"https://api.github.com/users/offirgolan/following{/other_user}","gists_url":"https://api.github.com/users/offirgolan/gists{/gist_id}","starred_url":"https://api.github.com/users/offirgolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offirgolan/subscriptions","organizations_url":"https://api.github.com/users/offirgolan/orgs","repos_url":"https://api.github.com/users/offirgolan/repos","events_url":"https://api.github.com/users/offirgolan/events{/privacy}","received_events_url":"https://api.github.com/users/offirgolan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-07T18:54:54Z","updated_at":"2015-12-07T18:54:54Z","closed_at":null,"body":"ember 2.3.0-beta.2+9f7d0aee\r\nember-data 2.3.0-beta.1+9c55682ba7\r\nember-cli: 1.13.12\r\n\r\n```\r\nPromise rejected before create model overriding defaults: registry.resolver.resolve is not a function@ 23 ms\r\nSource: \t\r\nTypeError: registry.resolver.resolve is not a function\r\n    at resolve (http://localhost:4200/assets/vendor.js:12899:36)\r\n    at Object.Registry.resolve (http://localhost:4200/assets/vendor.js:12439:21)\r\n    at Object.Registry.resolve (http://localhost:4200/assets/vendor.js:12441:33)\r\n    at factoryFor (http://localhost:4200/assets/vendor.js:11974:28)\r\n    at Object.Container.lookupFactory (http://localhost:4200/assets/vendor.js:11861:14)\r\n    at exports.default.TestModule.default.extend.setupModel (http://localhost:4200/assets/test-support.js:2423:38)\r\n    at http://localhost:4200/assets/test-support.js:2566:21\r\n    at Object.initializePromise (http://localhost:4200/assets/vendor.js:63367:7)\r\n    at new Promise (http://localhost:4200/assets/vendor.js:65217:21)\r\n    at nextStep (http://localhost:4200/assets/test-support.js:2565:18)\r\n```\r\n\r\n```js\r\nexport default DS.Model.extend({\r\n  name: DS.attr('string', { defaultValue: '' }),\r\n  acceptTerms: DS.attr('boolean', { defaultValue: false }),\r\n});\r\n```\r\n\r\n\r\n```js\r\nimport Ember from 'ember';\r\nimport {\r\n  moduleForModel,\r\n  test\r\n}\r\nfrom 'ember-qunit';\r\n\r\nmoduleForModel('signup', 'Unit | Validations | DS.Model', {\r\n\r\n});\r\n\r\ntest('create model with defaults', function(assert) {\r\n  var model = this.subject();\r\n  // blah blah blah\r\n});\r\n```\r\n"}}