{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4663","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4663/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4663/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4663/events","html_url":"https://github.com/ember-cli/ember-cli/pull/4663","id":100654908,"number":4663,"title":"[INTERNAL] Refactored component-test blueprint to use template conditional instead of string building","user":{"login":"trabus","id":324797,"avatar_url":"https://avatars.githubusercontent.com/u/324797?v=3","gravatar_id":"","url":"https://api.github.com/users/trabus","html_url":"https://github.com/trabus","followers_url":"https://api.github.com/users/trabus/followers","following_url":"https://api.github.com/users/trabus/following{/other_user}","gists_url":"https://api.github.com/users/trabus/gists{/gist_id}","starred_url":"https://api.github.com/users/trabus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trabus/subscriptions","organizations_url":"https://api.github.com/users/trabus/orgs","repos_url":"https://api.github.com/users/trabus/repos","events_url":"https://api.github.com/users/trabus/events{/privacy}","received_events_url":"https://api.github.com/users/trabus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-12T23:12:49Z","updated_at":"2015-08-13T13:47:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4663","html_url":"https://github.com/ember-cli/ember-cli/pull/4663","diff_url":"https://github.com/ember-cli/ember-cli/pull/4663.diff","patch_url":"https://github.com/ember-cli/ember-cli/pull/4663.patch"},"body":"Previously we were building strings for content in the component-test blueprint. This PR fixes that by using evaluation tokens to conditionally select content:\r\n```\r\n<% if (testType === 'integration') { %>\r\nintegration content\r\n<% } else if (testType === 'unit') { %>\r\nunit content\r\n<% } %>\r\n```"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/130677722","html_url":"https://github.com/ember-cli/ember-cli/pull/4663#issuecomment-130677722","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4663","id":130677722,"user":{"login":"kellyselden","id":602423,"avatar_url":"https://avatars.githubusercontent.com/u/602423?v=3","gravatar_id":"","url":"https://api.github.com/users/kellyselden","html_url":"https://github.com/kellyselden","followers_url":"https://api.github.com/users/kellyselden/followers","following_url":"https://api.github.com/users/kellyselden/following{/other_user}","gists_url":"https://api.github.com/users/kellyselden/gists{/gist_id}","starred_url":"https://api.github.com/users/kellyselden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellyselden/subscriptions","organizations_url":"https://api.github.com/users/kellyselden/orgs","repos_url":"https://api.github.com/users/kellyselden/repos","events_url":"https://api.github.com/users/kellyselden/events{/privacy}","received_events_url":"https://api.github.com/users/kellyselden/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T13:47:23Z","updated_at":"2015-08-13T13:47:23Z","body":"My guess is it's not covering the `|| \"integration\"`, but the coveralls coverage UI is hard for me to interpret."}}