{"action":"created","comment":{"url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/comments/33796724","id":33796724,"diff_hunk":"@@ -0,0 +1,41 @@\n+/**\n+ * Dependencies\n+ */\n+\n+var assert = require('assert');\n+var index = require('../index.js');\n+var agent = require('../lib/agent.js');\n+var media = require('../lib/media.js');\n+var office = require('../lib/office.js');\n+var geo = require('../lib/geo.js');\n+var listing = require('../lib/listing.js');\n+var openhouse = require('../lib/openhouse.js');\n+\n+var schemas = [index, agent, media, office, geo, listing, openhouse];\n+var subschemas = [agent, media, office, geo, listing, openhouse]; \n+var types = ['object', 'string', 'date', 'array', 'number', 'boolean'];\n+var subtypes = ['object', 'string', 'number'];\n+/**\n+ * Tests\n+ */\n+\n+suite('Object Creation');\n+test('Check Schemas', function(){\n+\tfor(var i = 0; i < schemas.length; i++){\n+ \t\tassert('object' === typeof schemas[i], 'object exists');\n+\t}\n+});\n+\n+test('Parse Contents', function(){\n+\tsubschemas.forEach(function(schema){\n+\t\t//console.log('first',schema);","path":"test/index.js","position":31,"original_position":31,"commit_id":"74eeee034b3f98120ae1d690a61ec021e26c9d2c","original_commit_id":"74eeee034b3f98120ae1d690a61ec021e26c9d2c","user":{"login":"CMClay","id":6610263,"avatar_url":"https://avatars.githubusercontent.com/u/6610263?v=3","gravatar_id":"","url":"https://api.github.com/users/CMClay","html_url":"https://github.com/CMClay","followers_url":"https://api.github.com/users/CMClay/followers","following_url":"https://api.github.com/users/CMClay/following{/other_user}","gists_url":"https://api.github.com/users/CMClay/gists{/gist_id}","starred_url":"https://api.github.com/users/CMClay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMClay/subscriptions","organizations_url":"https://api.github.com/users/CMClay/orgs","repos_url":"https://api.github.com/users/CMClay/repos","events_url":"https://api.github.com/users/CMClay/events{/privacy}","received_events_url":"https://api.github.com/users/CMClay/received_events","type":"User","site_admin":false},"body":"You can take these out.","created_at":"2015-07-02T16:36:44Z","updated_at":"2015-07-02T16:36:44Z","html_url":"https://github.com/Retsly/retsly-schemas/pull/12#discussion_r33796724","pull_request_url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/comments/33796724"},"html":{"href":"https://github.com/Retsly/retsly-schemas/pull/12#discussion_r33796724"},"pull_request":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12","id":38830809,"html_url":"https://github.com/Retsly/retsly-schemas/pull/12","diff_url":"https://github.com/Retsly/retsly-schemas/pull/12.diff","patch_url":"https://github.com/Retsly/retsly-schemas/pull/12.patch","issue_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues/12","number":12,"state":"open","locked":false,"title":"Tests","user":{"login":"CalvinScott","id":6776893,"avatar_url":"https://avatars.githubusercontent.com/u/6776893?v=3","gravatar_id":"","url":"https://api.github.com/users/CalvinScott","html_url":"https://github.com/CalvinScott","followers_url":"https://api.github.com/users/CalvinScott/followers","following_url":"https://api.github.com/users/CalvinScott/following{/other_user}","gists_url":"https://api.github.com/users/CalvinScott/gists{/gist_id}","starred_url":"https://api.github.com/users/CalvinScott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalvinScott/subscriptions","organizations_url":"https://api.github.com/users/CalvinScott/orgs","repos_url":"https://api.github.com/users/CalvinScott/repos","events_url":"https://api.github.com/users/CalvinScott/events{/privacy}","received_events_url":"https://api.github.com/users/CalvinScott/received_events","type":"User","site_admin":false},"body":"Add some basic tests to this repo. There isn't much here, but we should at least insure that there aren't any syntax errors in the JS.","created_at":"2015-06-30T00:04:04Z","updated_at":"2015-07-02T16:36:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a75937d565dc961f8a1bafef2e3e0b1bbd478502","assignee":{"login":"CalvinScott","id":6776893,"avatar_url":"https://avatars.githubusercontent.com/u/6776893?v=3","gravatar_id":"","url":"https://api.github.com/users/CalvinScott","html_url":"https://github.com/CalvinScott","followers_url":"https://api.github.com/users/CalvinScott/followers","following_url":"https://api.github.com/users/CalvinScott/following{/other_user}","gists_url":"https://api.github.com/users/CalvinScott/gists{/gist_id}","starred_url":"https://api.github.com/users/CalvinScott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CalvinScott/subscriptions","organizations_url":"https://api.github.com/users/CalvinScott/orgs","repos_url":"https://api.github.com/users/CalvinScott/repos","events_url":"https://api.github.com/users/CalvinScott/events{/privacy}","received_events_url":"https://api.github.com/users/CalvinScott/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues/12/comments","statuses_url":"https://api.github.com/repos/Retsly/retsly-schemas/statuses/74eeee034b3f98120ae1d690a61ec021e26c9d2c","head":{"label":"Retsly:calvinscott/12","ref":"calvinscott/12","sha":"74eeee034b3f98120ae1d690a61ec021e26c9d2c","user":{"login":"Retsly","id":4359410,"avatar_url":"https://avatars.githubusercontent.com/u/4359410?v=3","gravatar_id":"","url":"https://api.github.com/users/Retsly","html_url":"https://github.com/Retsly","followers_url":"https://api.github.com/users/Retsly/followers","following_url":"https://api.github.com/users/Retsly/following{/other_user}","gists_url":"https://api.github.com/users/Retsly/gists{/gist_id}","starred_url":"https://api.github.com/users/Retsly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retsly/subscriptions","organizations_url":"https://api.github.com/users/Retsly/orgs","repos_url":"https://api.github.com/users/Retsly/repos","events_url":"https://api.github.com/users/Retsly/events{/privacy}","received_events_url":"https://api.github.com/users/Retsly/received_events","type":"Organization","site_admin":false},"repo":{"id":35565147,"name":"retsly-schemas","full_name":"Retsly/retsly-schemas","owner":{"login":"Retsly","id":4359410,"avatar_url":"https://avatars.githubusercontent.com/u/4359410?v=3","gravatar_id":"","url":"https://api.github.com/users/Retsly","html_url":"https://github.com/Retsly","followers_url":"https://api.github.com/users/Retsly/followers","following_url":"https://api.github.com/users/Retsly/following{/other_user}","gists_url":"https://api.github.com/users/Retsly/gists{/gist_id}","starred_url":"https://api.github.com/users/Retsly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retsly/subscriptions","organizations_url":"https://api.github.com/users/Retsly/orgs","repos_url":"https://api.github.com/users/Retsly/repos","events_url":"https://api.github.com/users/Retsly/events{/privacy}","received_events_url":"https://api.github.com/users/Retsly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Retsly/retsly-schemas","description":"Have a repository for retsly schemas much like the data dictionary schemas","fork":false,"url":"https://api.github.com/repos/Retsly/retsly-schemas","forks_url":"https://api.github.com/repos/Retsly/retsly-schemas/forks","keys_url":"https://api.github.com/repos/Retsly/retsly-schemas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Retsly/retsly-schemas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Retsly/retsly-schemas/teams","hooks_url":"https://api.github.com/repos/Retsly/retsly-schemas/hooks","issue_events_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues/events{/number}","events_url":"https://api.github.com/repos/Retsly/retsly-schemas/events","assignees_url":"https://api.github.com/repos/Retsly/retsly-schemas/assignees{/user}","branches_url":"https://api.github.com/repos/Retsly/retsly-schemas/branches{/branch}","tags_url":"https://api.github.com/repos/Retsly/retsly-schemas/tags","blobs_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Retsly/retsly-schemas/statuses/{sha}","languages_url":"https://api.github.com/repos/Retsly/retsly-schemas/languages","stargazers_url":"https://api.github.com/repos/Retsly/retsly-schemas/stargazers","contributors_url":"https://api.github.com/repos/Retsly/retsly-schemas/contributors","subscribers_url":"https://api.github.com/repos/Retsly/retsly-schemas/subscribers","subscription_url":"https://api.github.com/repos/Retsly/retsly-schemas/subscription","commits_url":"https://api.github.com/repos/Retsly/retsly-schemas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Retsly/retsly-schemas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Retsly/retsly-schemas/contents/{+path}","compare_url":"https://api.github.com/repos/Retsly/retsly-schemas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Retsly/retsly-schemas/merges","archive_url":"https://api.github.com/repos/Retsly/retsly-schemas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Retsly/retsly-schemas/downloads","issues_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues{/number}","pulls_url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls{/number}","milestones_url":"https://api.github.com/repos/Retsly/retsly-schemas/milestones{/number}","notifications_url":"https://api.github.com/repos/Retsly/retsly-schemas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Retsly/retsly-schemas/labels{/name}","releases_url":"https://api.github.com/repos/Retsly/retsly-schemas/releases{/id}","created_at":"2015-05-13T17:54:26Z","updated_at":"2015-05-19T23:09:46Z","pushed_at":"2015-07-01T19:08:11Z","git_url":"git://github.com/Retsly/retsly-schemas.git","ssh_url":"git@github.com:Retsly/retsly-schemas.git","clone_url":"https://github.com/Retsly/retsly-schemas.git","svn_url":"https://github.com/Retsly/retsly-schemas","homepage":null,"size":270,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Retsly:master","ref":"master","sha":"e496f8911668bc072b69763db949b2bc0365abd7","user":{"login":"Retsly","id":4359410,"avatar_url":"https://avatars.githubusercontent.com/u/4359410?v=3","gravatar_id":"","url":"https://api.github.com/users/Retsly","html_url":"https://github.com/Retsly","followers_url":"https://api.github.com/users/Retsly/followers","following_url":"https://api.github.com/users/Retsly/following{/other_user}","gists_url":"https://api.github.com/users/Retsly/gists{/gist_id}","starred_url":"https://api.github.com/users/Retsly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retsly/subscriptions","organizations_url":"https://api.github.com/users/Retsly/orgs","repos_url":"https://api.github.com/users/Retsly/repos","events_url":"https://api.github.com/users/Retsly/events{/privacy}","received_events_url":"https://api.github.com/users/Retsly/received_events","type":"Organization","site_admin":false},"repo":{"id":35565147,"name":"retsly-schemas","full_name":"Retsly/retsly-schemas","owner":{"login":"Retsly","id":4359410,"avatar_url":"https://avatars.githubusercontent.com/u/4359410?v=3","gravatar_id":"","url":"https://api.github.com/users/Retsly","html_url":"https://github.com/Retsly","followers_url":"https://api.github.com/users/Retsly/followers","following_url":"https://api.github.com/users/Retsly/following{/other_user}","gists_url":"https://api.github.com/users/Retsly/gists{/gist_id}","starred_url":"https://api.github.com/users/Retsly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Retsly/subscriptions","organizations_url":"https://api.github.com/users/Retsly/orgs","repos_url":"https://api.github.com/users/Retsly/repos","events_url":"https://api.github.com/users/Retsly/events{/privacy}","received_events_url":"https://api.github.com/users/Retsly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Retsly/retsly-schemas","description":"Have a repository for retsly schemas much like the data dictionary schemas","fork":false,"url":"https://api.github.com/repos/Retsly/retsly-schemas","forks_url":"https://api.github.com/repos/Retsly/retsly-schemas/forks","keys_url":"https://api.github.com/repos/Retsly/retsly-schemas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Retsly/retsly-schemas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Retsly/retsly-schemas/teams","hooks_url":"https://api.github.com/repos/Retsly/retsly-schemas/hooks","issue_events_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues/events{/number}","events_url":"https://api.github.com/repos/Retsly/retsly-schemas/events","assignees_url":"https://api.github.com/repos/Retsly/retsly-schemas/assignees{/user}","branches_url":"https://api.github.com/repos/Retsly/retsly-schemas/branches{/branch}","tags_url":"https://api.github.com/repos/Retsly/retsly-schemas/tags","blobs_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Retsly/retsly-schemas/statuses/{sha}","languages_url":"https://api.github.com/repos/Retsly/retsly-schemas/languages","stargazers_url":"https://api.github.com/repos/Retsly/retsly-schemas/stargazers","contributors_url":"https://api.github.com/repos/Retsly/retsly-schemas/contributors","subscribers_url":"https://api.github.com/repos/Retsly/retsly-schemas/subscribers","subscription_url":"https://api.github.com/repos/Retsly/retsly-schemas/subscription","commits_url":"https://api.github.com/repos/Retsly/retsly-schemas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Retsly/retsly-schemas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Retsly/retsly-schemas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Retsly/retsly-schemas/contents/{+path}","compare_url":"https://api.github.com/repos/Retsly/retsly-schemas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Retsly/retsly-schemas/merges","archive_url":"https://api.github.com/repos/Retsly/retsly-schemas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Retsly/retsly-schemas/downloads","issues_url":"https://api.github.com/repos/Retsly/retsly-schemas/issues{/number}","pulls_url":"https://api.github.com/repos/Retsly/retsly-schemas/pulls{/number}","milestones_url":"https://api.github.com/repos/Retsly/retsly-schemas/milestones{/number}","notifications_url":"https://api.github.com/repos/Retsly/retsly-schemas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Retsly/retsly-schemas/labels{/name}","releases_url":"https://api.github.com/repos/Retsly/retsly-schemas/releases{/id}","created_at":"2015-05-13T17:54:26Z","updated_at":"2015-05-19T23:09:46Z","pushed_at":"2015-07-01T19:08:11Z","git_url":"git://github.com/Retsly/retsly-schemas.git","ssh_url":"git@github.com:Retsly/retsly-schemas.git","clone_url":"https://github.com/Retsly/retsly-schemas.git","svn_url":"https://github.com/Retsly/retsly-schemas","homepage":null,"size":270,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12"},"html":{"href":"https://github.com/Retsly/retsly-schemas/pull/12"},"issue":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/issues/12"},"comments":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Retsly/retsly-schemas/statuses/74eeee034b3f98120ae1d690a61ec021e26c9d2c"}}}}