{"action":"closed","issue":{"url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/58","labels_url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/58/comments","events_url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/58/events","html_url":"https://github.com/switchfly/ember-cli-mocha/issues/58","id":89816101,"number":58,"title":"Bring component integration test in line with ember-cli","user":{"login":"blimmer","id":630449,"avatar_url":"https://avatars.githubusercontent.com/u/630449?v=3","gravatar_id":"","url":"https://api.github.com/users/blimmer","html_url":"https://github.com/blimmer","followers_url":"https://api.github.com/users/blimmer/followers","following_url":"https://api.github.com/users/blimmer/following{/other_user}","gists_url":"https://api.github.com/users/blimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/blimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blimmer/subscriptions","organizations_url":"https://api.github.com/users/blimmer/orgs","repos_url":"https://api.github.com/users/blimmer/repos","events_url":"https://api.github.com/users/blimmer/events{/privacy}","received_events_url":"https://api.github.com/users/blimmer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-20T20:45:25Z","updated_at":"2015-07-09T16:25:54Z","closed_at":"2015-07-09T16:25:54Z","body":"[This PR](https://github.com/ember-cli/ember-cli/pull/4272) to ember-cli will likely be done soon and has a few differences from our implementation:\r\n\r\n* It generates a component integration test by default when generating a new component (and allows generating a unit test by specifying `--unit`)\r\n* It has a different argument (they use `--test-type`)\r\n```js\r\n  availableOptions: [\r\n    {\r\n      name: 'test-type',\r\n      type: ['integration', 'unit'],\r\n      default: 'integration',\r\n      aliases:[\r\n        { 'i': 'integration'},\r\n        { 'u': 'unit'},\r\n        { 'integration': 'integration' },\r\n        { 'unit': 'unit' }\r\n      ]\r\n    }\r\n  ]\r\n```\r\n\r\nOnce the ember-cli PR is merged I propose we bring this project back in sync. I will gladly submit a PR for this change."}}