{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5666","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5666/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5666/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5666/events","html_url":"https://github.com/ember-cli/ember-cli/pull/5666","id":142642352,"number":5666,"title":"Clean up \"inquirer\" code","user":{"login":"Turbo87","id":141300,"avatar_url":"https://avatars.githubusercontent.com/u/141300?v=3","gravatar_id":"","url":"https://api.github.com/users/Turbo87","html_url":"https://github.com/Turbo87","followers_url":"https://api.github.com/users/Turbo87/followers","following_url":"https://api.github.com/users/Turbo87/following{/other_user}","gists_url":"https://api.github.com/users/Turbo87/gists{/gist_id}","starred_url":"https://api.github.com/users/Turbo87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turbo87/subscriptions","organizations_url":"https://api.github.com/users/Turbo87/orgs","repos_url":"https://api.github.com/users/Turbo87/repos","events_url":"https://api.github.com/users/Turbo87/events{/privacy}","received_events_url":"https://api.github.com/users/Turbo87/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/Cleanup","name":"Cleanup","color":"0052cc"},{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/Needs%20Code%20Review","name":"Needs Code Review","color":"9319E0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-22T12:59:23Z","updated_at":"2016-03-22T15:20:31Z","closed_at":"2016-03-22T15:18:53Z","pull_request":{"url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/5666","html_url":"https://github.com/ember-cli/ember-cli/pull/5666","diff_url":"https://github.com/ember-cli/ember-cli/pull/5666.diff","patch_url":"https://github.com/ember-cli/ember-cli/pull/5666.patch"},"body":"This PR greatly simplifies the `UI.prompt()` method by using stubs for testing instead of the error-prone stream redirection. The PR also updates the `inquirer` dependency to the most recent release.\r\n\r\nThis fixes #5665 and part of #5548. \r\n\r\nThe test code can be simplified further once https://github.com/testdouble/testdouble.js/issues/86 is solved."},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/199862119","html_url":"https://github.com/ember-cli/ember-cli/pull/5666#issuecomment-199862119","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5666","id":199862119,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T15:20:31Z","updated_at":"2016-03-22T15:20:31Z","body":"My above comments need to be addressed, because finally doesn't always run. An example would be, if the tests timeout."}}