{"action":"created","issue":{"url":"https://api.github.com/repos/dustinfarris/ember-django-adapter/issues/79","labels_url":"https://api.github.com/repos/dustinfarris/ember-django-adapter/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/dustinfarris/ember-django-adapter/issues/79/comments","events_url":"https://api.github.com/repos/dustinfarris/ember-django-adapter/issues/79/events","html_url":"https://github.com/dustinfarris/ember-django-adapter/issues/79","id":65969009,"number":79,"title":"Error on generated Adapter unit tests","user":{"login":"pkenway","id":1400182,"avatar_url":"https://avatars.githubusercontent.com/u/1400182?v=3","gravatar_id":"","url":"https://api.github.com/users/pkenway","html_url":"https://github.com/pkenway","followers_url":"https://api.github.com/users/pkenway/followers","following_url":"https://api.github.com/users/pkenway/following{/other_user}","gists_url":"https://api.github.com/users/pkenway/gists{/gist_id}","starred_url":"https://api.github.com/users/pkenway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkenway/subscriptions","organizations_url":"https://api.github.com/users/pkenway/orgs","repos_url":"https://api.github.com/users/pkenway/repos","events_url":"https://api.github.com/users/pkenway/events{/privacy}","received_events_url":"https://api.github.com/users/pkenway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dustinfarris","id":1087165,"avatar_url":"https://avatars.githubusercontent.com/u/1087165?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinfarris","html_url":"https://github.com/dustinfarris","followers_url":"https://api.github.com/users/dustinfarris/followers","following_url":"https://api.github.com/users/dustinfarris/following{/other_user}","gists_url":"https://api.github.com/users/dustinfarris/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinfarris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinfarris/subscriptions","organizations_url":"https://api.github.com/users/dustinfarris/orgs","repos_url":"https://api.github.com/users/dustinfarris/repos","events_url":"https://api.github.com/users/dustinfarris/events{/privacy}","received_events_url":"https://api.github.com/users/dustinfarris/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-04-02T17:02:31Z","updated_at":"2015-05-14T15:26:06Z","closed_at":null,"body":"I'm getting an error running unit tests for the DRF adapter and subclassed adapters.\r\n\r\nSee the following gist for an example:\r\nhttps://gist.github.com/pkenway/9e77ca425d91fe925482\r\n\r\nThis is the error I get:\r\n```\r\n\r\nnot ok 1 PhantomJS 1.9 - ApplicationAdapter: it exists\r\n    ---\r\n        actual: >\r\n            null\r\n        message: >\r\n            beforeEach failed on it exists: 'undefined' is not a function (evaluating '(function () {\r\n                  return ENV['default'].APP.API_HOST;\r\n                }).property()')\r\n        Log: >\r\n    ...\r\nok 2 PhantomJS 1.9 - JSHint - unit/adapters: unit/adapters/application-test.js should pass jshint\r\n```\r\n\r\nThis is with ember-cli 0.2.2.\r\n\r\nAm I doing something wrong or is this a bug?"},"comment":{"url":"https://api.github.com/repos/dustinfarris/ember-django-adapter/issues/comments/102071302","html_url":"https://github.com/dustinfarris/ember-django-adapter/issues/79#issuecomment-102071302","issue_url":"https://api.github.com/repos/dustinfarris/ember-django-adapter/issues/79","id":102071302,"user":{"login":"benkonrath","id":494758,"avatar_url":"https://avatars.githubusercontent.com/u/494758?v=3","gravatar_id":"","url":"https://api.github.com/users/benkonrath","html_url":"https://github.com/benkonrath","followers_url":"https://api.github.com/users/benkonrath/followers","following_url":"https://api.github.com/users/benkonrath/following{/other_user}","gists_url":"https://api.github.com/users/benkonrath/gists{/gist_id}","starred_url":"https://api.github.com/users/benkonrath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benkonrath/subscriptions","organizations_url":"https://api.github.com/users/benkonrath/orgs","repos_url":"https://api.github.com/users/benkonrath/repos","events_url":"https://api.github.com/users/benkonrath/events{/privacy}","received_events_url":"https://api.github.com/users/benkonrath/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T15:26:06Z","updated_at":"2015-05-14T15:26:06Z","body":"Ember-cli 0.2.4 includes ember-disable-prototype-extensions by default so we should probably figure out why the tests don't work when the prototype extensions are turned off. \r\n\r\nHere's some information about the module:\r\n> This is a great idea for addon authors to ensure that their addon does not accidentally\r\n> depend upon prototype extensions (which may be disabled in a consuming application).\r\n\r\nhttps://github.com/rwjblue/ember-disable-prototype-extensions  \r\n\r\nThe PR into ember-cli also has some useful information:\r\nhttps://github.com/ember-cli/ember-cli/pull/3645"}}