{"action":"created","issue":{"url":"https://api.github.com/repos/poteto/ember-metrics/issues/43","labels_url":"https://api.github.com/repos/poteto/ember-metrics/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/poteto/ember-metrics/issues/43/comments","events_url":"https://api.github.com/repos/poteto/ember-metrics/issues/43/events","html_url":"https://github.com/poteto/ember-metrics/issues/43","id":109588976,"number":43,"title":"Issues when running `ember test`","user":{"login":"briangonzalez","id":659829,"avatar_url":"https://avatars.githubusercontent.com/u/659829?v=3","gravatar_id":"","url":"https://api.github.com/users/briangonzalez","html_url":"https://github.com/briangonzalez","followers_url":"https://api.github.com/users/briangonzalez/followers","following_url":"https://api.github.com/users/briangonzalez/following{/other_user}","gists_url":"https://api.github.com/users/briangonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/briangonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/briangonzalez/subscriptions","organizations_url":"https://api.github.com/users/briangonzalez/orgs","repos_url":"https://api.github.com/users/briangonzalez/repos","events_url":"https://api.github.com/users/briangonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/briangonzalez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-02T23:25:14Z","updated_at":"2015-10-06T03:45:49Z","closed_at":null,"body":"We're currently experiencing an error when running `ember test` in our app:\r\n\r\n```\r\nAttempting to inject an unknown injection: `service:metrics`\r\n```\r\n\r\nWe currently have over ~150 failing tests due to this issue.\r\n\r\nIf we add the following, the test passes:\r\n\r\n```diff\r\nmoduleForComponent('box-tabs', {\r\n+  needs: ['service:metrics']\r\n});\r\n```\r\n\r\nIs the right approach to add in the `needs` in all ~150 failing tests, or, is there a better solution?"},"comment":{"url":"https://api.github.com/repos/poteto/ember-metrics/issues/comments/145734592","html_url":"https://github.com/poteto/ember-metrics/issues/43#issuecomment-145734592","issue_url":"https://api.github.com/repos/poteto/ember-metrics/issues/43","id":145734592,"user":{"login":"poteto","id":1390709,"avatar_url":"https://avatars.githubusercontent.com/u/1390709?v=3","gravatar_id":"","url":"https://api.github.com/users/poteto","html_url":"https://github.com/poteto","followers_url":"https://api.github.com/users/poteto/followers","following_url":"https://api.github.com/users/poteto/following{/other_user}","gists_url":"https://api.github.com/users/poteto/gists{/gist_id}","starred_url":"https://api.github.com/users/poteto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poteto/subscriptions","organizations_url":"https://api.github.com/users/poteto/orgs","repos_url":"https://api.github.com/users/poteto/repos","events_url":"https://api.github.com/users/poteto/events{/privacy}","received_events_url":"https://api.github.com/users/poteto/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T03:45:49Z","updated_at":"2015-10-06T03:45:49Z","body":"Sidenote: If you're using [`0.4.0`](https://github.com/poteto/ember-metrics/releases/tag/0.4.0), the simplest solution is to make all your adapters work only in `development` and/or `production`, unless you are testing them"}}