{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator-mocha/issues/40","repository_url":"https://api.github.com/repos/yeoman/generator-mocha","labels_url":"https://api.github.com/repos/yeoman/generator-mocha/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator-mocha/issues/40/comments","events_url":"https://api.github.com/repos/yeoman/generator-mocha/issues/40/events","html_url":"https://github.com/yeoman/generator-mocha/pull/40","id":138805626,"number":40,"title":"fix(generator): fix tdd option","user":{"login":"fxleblanc","id":5315391,"avatar_url":"https://avatars.githubusercontent.com/u/5315391?v=3","gravatar_id":"","url":"https://api.github.com/users/fxleblanc","html_url":"https://github.com/fxleblanc","followers_url":"https://api.github.com/users/fxleblanc/followers","following_url":"https://api.github.com/users/fxleblanc/following{/other_user}","gists_url":"https://api.github.com/users/fxleblanc/gists{/gist_id}","starred_url":"https://api.github.com/users/fxleblanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxleblanc/subscriptions","organizations_url":"https://api.github.com/users/fxleblanc/orgs","repos_url":"https://api.github.com/users/fxleblanc/repos","events_url":"https://api.github.com/users/fxleblanc/events{/privacy}","received_events_url":"https://api.github.com/users/fxleblanc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-06T16:06:00Z","updated_at":"2016-03-07T19:21:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yeoman/generator-mocha/pulls/40","html_url":"https://github.com/yeoman/generator-mocha/pull/40","diff_url":"https://github.com/yeoman/generator-mocha/pull/40.diff","patch_url":"https://github.com/yeoman/generator-mocha/pull/40.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/yeoman/generator-mocha/issues/comments/193406152","html_url":"https://github.com/yeoman/generator-mocha/pull/40#issuecomment-193406152","issue_url":"https://api.github.com/repos/yeoman/generator-mocha/issues/40","id":193406152,"user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T19:21:25Z","updated_at":"2016-03-07T19:21:25Z","body":"I'd either drop the `--ui` option, or keep two templates. `if/else` inside templates are the worse to maintain."}}