{"action":"created","comment":{"url":"https://api.github.com/repos/jstransformers/boilerplate/pulls/comments/30989003","id":30989003,"diff_hunk":"@@ -17,7 +18,16 @@ function assertEqual(output, expected) {\n   assert.equal(output, expected);\n }\n \n-test('a', function () {\n-  output = transform.render(input);\n-  assertEqual(output, expected);\n+test(transform.name + '.render()', function () {\n+  if (transform.render) {\n+    var output = transform.render(input, options, locals);\n+    assertEqual(output, expected);\n+  }\n+});","path":"test/index.js","position":23,"original_position":23,"commit_id":"7422bf0727d5bab068b235466d2f9d798a347b55","original_commit_id":"7422bf0727d5bab068b235466d2f9d798a347b55","user":{"login":"RobLoach","id":25086,"avatar_url":"https://avatars.githubusercontent.com/u/25086?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLoach","html_url":"https://github.com/RobLoach","followers_url":"https://api.github.com/users/RobLoach/followers","following_url":"https://api.github.com/users/RobLoach/following{/other_user}","gists_url":"https://api.github.com/users/RobLoach/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLoach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLoach/subscriptions","organizations_url":"https://api.github.com/users/RobLoach/orgs","repos_url":"https://api.github.com/users/RobLoach/repos","events_url":"https://api.github.com/users/RobLoach/events{/privacy}","received_events_url":"https://api.github.com/users/RobLoach/received_events","type":"User","site_admin":false},"body":"Perhaps the if statement should wrap the test() call.","created_at":"2015-05-25T17:39:43Z","updated_at":"2015-05-25T17:39:43Z","html_url":"https://github.com/jstransformers/boilerplate/pull/11#discussion_r30989003","pull_request_url":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/jstransformers/boilerplate/pulls/comments/30989003"},"html":{"href":"https://github.com/jstransformers/boilerplate/pull/11#discussion_r30989003"},"pull_request":{"href":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11","id":36151016,"html_url":"https://github.com/jstransformers/boilerplate/pull/11","diff_url":"https://github.com/jstransformers/boilerplate/pull/11.diff","patch_url":"https://github.com/jstransformers/boilerplate/pull/11.patch","issue_url":"https://api.github.com/repos/jstransformers/boilerplate/issues/11","number":11,"state":"open","locked":false,"title":"Add some things","user":{"login":"RobLoach","id":25086,"avatar_url":"https://avatars.githubusercontent.com/u/25086?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLoach","html_url":"https://github.com/RobLoach","followers_url":"https://api.github.com/users/RobLoach/followers","following_url":"https://api.github.com/users/RobLoach/following{/other_user}","gists_url":"https://api.github.com/users/RobLoach/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLoach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLoach/subscriptions","organizations_url":"https://api.github.com/users/RobLoach/orgs","repos_url":"https://api.github.com/users/RobLoach/repos","events_url":"https://api.github.com/users/RobLoach/events{/privacy}","received_events_url":"https://api.github.com/users/RobLoach/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-25T17:36:25Z","updated_at":"2015-05-25T17:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a87fd7bdf78e0be59dafb7328e013852e30edc9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11/commits","review_comments_url":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11/comments","review_comment_url":"https://api.github.com/repos/jstransformers/boilerplate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jstransformers/boilerplate/issues/11/comments","statuses_url":"https://api.github.com/repos/jstransformers/boilerplate/statuses/7422bf0727d5bab068b235466d2f9d798a347b55","head":{"label":"jstransformers:things","ref":"things","sha":"7422bf0727d5bab068b235466d2f9d798a347b55","user":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"repo":{"id":33344665,"name":"boilerplate","full_name":"jstransformers/boilerplate","owner":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jstransformers/boilerplate","description":"Boilerplates for new jstransformers","fork":false,"url":"https://api.github.com/repos/jstransformers/boilerplate","forks_url":"https://api.github.com/repos/jstransformers/boilerplate/forks","keys_url":"https://api.github.com/repos/jstransformers/boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstransformers/boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstransformers/boilerplate/teams","hooks_url":"https://api.github.com/repos/jstransformers/boilerplate/hooks","issue_events_url":"https://api.github.com/repos/jstransformers/boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/jstransformers/boilerplate/events","assignees_url":"https://api.github.com/repos/jstransformers/boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/jstransformers/boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/jstransformers/boilerplate/tags","blobs_url":"https://api.github.com/repos/jstransformers/boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstransformers/boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstransformers/boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstransformers/boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstransformers/boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/jstransformers/boilerplate/languages","stargazers_url":"https://api.github.com/repos/jstransformers/boilerplate/stargazers","contributors_url":"https://api.github.com/repos/jstransformers/boilerplate/contributors","subscribers_url":"https://api.github.com/repos/jstransformers/boilerplate/subscribers","subscription_url":"https://api.github.com/repos/jstransformers/boilerplate/subscription","commits_url":"https://api.github.com/repos/jstransformers/boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstransformers/boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstransformers/boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstransformers/boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstransformers/boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/jstransformers/boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstransformers/boilerplate/merges","archive_url":"https://api.github.com/repos/jstransformers/boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstransformers/boilerplate/downloads","issues_url":"https://api.github.com/repos/jstransformers/boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/jstransformers/boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/jstransformers/boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/jstransformers/boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstransformers/boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/jstransformers/boilerplate/releases{/id}","created_at":"2015-04-03T03:36:26Z","updated_at":"2015-04-08T16:56:35Z","pushed_at":"2015-05-25T17:36:26Z","git_url":"git://github.com/jstransformers/boilerplate.git","ssh_url":"git@github.com:jstransformers/boilerplate.git","clone_url":"https://github.com/jstransformers/boilerplate.git","svn_url":"https://github.com/jstransformers/boilerplate","homepage":null,"size":172,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"jstransformers:master","ref":"master","sha":"d4d981aa6b1ff674c781542b3ec8af2f481fe97f","user":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"repo":{"id":33344665,"name":"boilerplate","full_name":"jstransformers/boilerplate","owner":{"login":"jstransformers","id":9823543,"avatar_url":"https://avatars.githubusercontent.com/u/9823543?v=3","gravatar_id":"","url":"https://api.github.com/users/jstransformers","html_url":"https://github.com/jstransformers","followers_url":"https://api.github.com/users/jstransformers/followers","following_url":"https://api.github.com/users/jstransformers/following{/other_user}","gists_url":"https://api.github.com/users/jstransformers/gists{/gist_id}","starred_url":"https://api.github.com/users/jstransformers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstransformers/subscriptions","organizations_url":"https://api.github.com/users/jstransformers/orgs","repos_url":"https://api.github.com/users/jstransformers/repos","events_url":"https://api.github.com/users/jstransformers/events{/privacy}","received_events_url":"https://api.github.com/users/jstransformers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jstransformers/boilerplate","description":"Boilerplates for new jstransformers","fork":false,"url":"https://api.github.com/repos/jstransformers/boilerplate","forks_url":"https://api.github.com/repos/jstransformers/boilerplate/forks","keys_url":"https://api.github.com/repos/jstransformers/boilerplate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstransformers/boilerplate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstransformers/boilerplate/teams","hooks_url":"https://api.github.com/repos/jstransformers/boilerplate/hooks","issue_events_url":"https://api.github.com/repos/jstransformers/boilerplate/issues/events{/number}","events_url":"https://api.github.com/repos/jstransformers/boilerplate/events","assignees_url":"https://api.github.com/repos/jstransformers/boilerplate/assignees{/user}","branches_url":"https://api.github.com/repos/jstransformers/boilerplate/branches{/branch}","tags_url":"https://api.github.com/repos/jstransformers/boilerplate/tags","blobs_url":"https://api.github.com/repos/jstransformers/boilerplate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstransformers/boilerplate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstransformers/boilerplate/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstransformers/boilerplate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstransformers/boilerplate/statuses/{sha}","languages_url":"https://api.github.com/repos/jstransformers/boilerplate/languages","stargazers_url":"https://api.github.com/repos/jstransformers/boilerplate/stargazers","contributors_url":"https://api.github.com/repos/jstransformers/boilerplate/contributors","subscribers_url":"https://api.github.com/repos/jstransformers/boilerplate/subscribers","subscription_url":"https://api.github.com/repos/jstransformers/boilerplate/subscription","commits_url":"https://api.github.com/repos/jstransformers/boilerplate/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstransformers/boilerplate/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstransformers/boilerplate/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstransformers/boilerplate/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstransformers/boilerplate/contents/{+path}","compare_url":"https://api.github.com/repos/jstransformers/boilerplate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstransformers/boilerplate/merges","archive_url":"https://api.github.com/repos/jstransformers/boilerplate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstransformers/boilerplate/downloads","issues_url":"https://api.github.com/repos/jstransformers/boilerplate/issues{/number}","pulls_url":"https://api.github.com/repos/jstransformers/boilerplate/pulls{/number}","milestones_url":"https://api.github.com/repos/jstransformers/boilerplate/milestones{/number}","notifications_url":"https://api.github.com/repos/jstransformers/boilerplate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstransformers/boilerplate/labels{/name}","releases_url":"https://api.github.com/repos/jstransformers/boilerplate/releases{/id}","created_at":"2015-04-03T03:36:26Z","updated_at":"2015-04-08T16:56:35Z","pushed_at":"2015-05-25T17:36:26Z","git_url":"git://github.com/jstransformers/boilerplate.git","ssh_url":"git@github.com:jstransformers/boilerplate.git","clone_url":"https://github.com/jstransformers/boilerplate.git","svn_url":"https://github.com/jstransformers/boilerplate","homepage":null,"size":172,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11"},"html":{"href":"https://github.com/jstransformers/boilerplate/pull/11"},"issue":{"href":"https://api.github.com/repos/jstransformers/boilerplate/issues/11"},"comments":{"href":"https://api.github.com/repos/jstransformers/boilerplate/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/jstransformers/boilerplate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jstransformers/boilerplate/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/jstransformers/boilerplate/statuses/7422bf0727d5bab068b235466d2f9d798a347b55"}}}}