{"action":"created","comment":{"url":"https://api.github.com/repos/RackHD/on-core/pulls/comments/47573011","id":47573011,"diff_hunk":"@@ -55,17 +55,17 @@ describe('Templates', function () {\n         it('should load templates', function() {\n             var self = this;\n             var templates = [\n-                { name: 'template 1', contents: 'template 1 contents'},\n-                { name: 'template 2', contents: 'template 2 contents'},\n-                { name: 'template 3', contents: 'template 3 contents'}\n+                { name: 'template 1', contents: new Buffer('template 1 contents') },\n+                { name: 'template 2', contents: new Buffer('template 2 contents') },\n+                { name: 'template 3', contents: new Buffer('template 3 contents') }\n             ];\n             loader.prototype.getAll.resolves(templates);\n \n             return this.subject.load()\n             .then(function() {\n-                expect(self.subject.put.firstCall.args[1]).to.deep.equal(templates[0]);\n-                expect(self.subject.put.secondCall.args[1]).to.deep.equal(templates[1]);\n-                expect(self.subject.put.thirdCall.args[1]).to.deep.equal(templates[2]);\n+                expect(self.subject.put.firstCall.args[1]).to.deep.equal(templates[0].toString());\n+                expect(self.subject.put.secondCall.args[1]).to.deep.equal(templates[1].toString());\n+                expect(self.subject.put.thirdCall.args[1]).to.deep.equal(templates[2].toString());","path":"spec/lib/common/template-spec.js","position":20,"original_position":20,"commit_id":"224bc10933a21a8ded545422b2c7d4d3d8983adf","original_commit_id":"224bc10933a21a8ded545422b2c7d4d3d8983adf","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2015-12-14T23:02:36Z","updated_at":"2015-12-14T23:02:36Z","html_url":"https://github.com/RackHD/on-core/pull/47#discussion_r47573011","pull_request_url":"https://api.github.com/repos/RackHD/on-core/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-core/pulls/comments/47573011"},"html":{"href":"https://github.com/RackHD/on-core/pull/47#discussion_r47573011"},"pull_request":{"href":"https://api.github.com/repos/RackHD/on-core/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/RackHD/on-core/pulls/47","id":53635860,"html_url":"https://github.com/RackHD/on-core/pull/47","diff_url":"https://github.com/RackHD/on-core/pull/47.diff","patch_url":"https://github.com/RackHD/on-core/pull/47.patch","issue_url":"https://api.github.com/repos/RackHD/on-core/issues/47","number":47,"state":"open","locked":false,"title":"Fix bug with calling waterline create with a buffer","user":{"login":"benbp","id":1020379,"avatar_url":"https://avatars.githubusercontent.com/u/1020379?v=3","gravatar_id":"","url":"https://api.github.com/users/benbp","html_url":"https://github.com/benbp","followers_url":"https://api.github.com/users/benbp/followers","following_url":"https://api.github.com/users/benbp/following{/other_user}","gists_url":"https://api.github.com/users/benbp/gists{/gist_id}","starred_url":"https://api.github.com/users/benbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbp/subscriptions","organizations_url":"https://api.github.com/users/benbp/orgs","repos_url":"https://api.github.com/users/benbp/repos","events_url":"https://api.github.com/users/benbp/events{/privacy}","received_events_url":"https://api.github.com/users/benbp/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T23:02:31Z","updated_at":"2015-12-14T23:02:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87339b5b5dff54a3ab26692b2f4f20947db3b6ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-core/pulls/47/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-core/pulls/47/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-core/issues/47/comments","statuses_url":"https://api.github.com/repos/RackHD/on-core/statuses/224bc10933a21a8ded545422b2c7d4d3d8983adf","head":{"label":"benbp:loader-fix","ref":"loader-fix","sha":"224bc10933a21a8ded545422b2c7d4d3d8983adf","user":{"login":"benbp","id":1020379,"avatar_url":"https://avatars.githubusercontent.com/u/1020379?v=3","gravatar_id":"","url":"https://api.github.com/users/benbp","html_url":"https://github.com/benbp","followers_url":"https://api.github.com/users/benbp/followers","following_url":"https://api.github.com/users/benbp/following{/other_user}","gists_url":"https://api.github.com/users/benbp/gists{/gist_id}","starred_url":"https://api.github.com/users/benbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbp/subscriptions","organizations_url":"https://api.github.com/users/benbp/orgs","repos_url":"https://api.github.com/users/benbp/repos","events_url":"https://api.github.com/users/benbp/events{/privacy}","received_events_url":"https://api.github.com/users/benbp/received_events","type":"User","site_admin":false},"repo":{"id":45488670,"name":"on-core","full_name":"benbp/on-core","owner":{"login":"benbp","id":1020379,"avatar_url":"https://avatars.githubusercontent.com/u/1020379?v=3","gravatar_id":"","url":"https://api.github.com/users/benbp","html_url":"https://github.com/benbp","followers_url":"https://api.github.com/users/benbp/followers","following_url":"https://api.github.com/users/benbp/following{/other_user}","gists_url":"https://api.github.com/users/benbp/gists{/gist_id}","starred_url":"https://api.github.com/users/benbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbp/subscriptions","organizations_url":"https://api.github.com/users/benbp/orgs","repos_url":"https://api.github.com/users/benbp/repos","events_url":"https://api.github.com/users/benbp/events{/privacy}","received_events_url":"https://api.github.com/users/benbp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benbp/on-core","description":"","fork":true,"url":"https://api.github.com/repos/benbp/on-core","forks_url":"https://api.github.com/repos/benbp/on-core/forks","keys_url":"https://api.github.com/repos/benbp/on-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benbp/on-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benbp/on-core/teams","hooks_url":"https://api.github.com/repos/benbp/on-core/hooks","issue_events_url":"https://api.github.com/repos/benbp/on-core/issues/events{/number}","events_url":"https://api.github.com/repos/benbp/on-core/events","assignees_url":"https://api.github.com/repos/benbp/on-core/assignees{/user}","branches_url":"https://api.github.com/repos/benbp/on-core/branches{/branch}","tags_url":"https://api.github.com/repos/benbp/on-core/tags","blobs_url":"https://api.github.com/repos/benbp/on-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benbp/on-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benbp/on-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/benbp/on-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benbp/on-core/statuses/{sha}","languages_url":"https://api.github.com/repos/benbp/on-core/languages","stargazers_url":"https://api.github.com/repos/benbp/on-core/stargazers","contributors_url":"https://api.github.com/repos/benbp/on-core/contributors","subscribers_url":"https://api.github.com/repos/benbp/on-core/subscribers","subscription_url":"https://api.github.com/repos/benbp/on-core/subscription","commits_url":"https://api.github.com/repos/benbp/on-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/benbp/on-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/benbp/on-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/benbp/on-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/benbp/on-core/contents/{+path}","compare_url":"https://api.github.com/repos/benbp/on-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benbp/on-core/merges","archive_url":"https://api.github.com/repos/benbp/on-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benbp/on-core/downloads","issues_url":"https://api.github.com/repos/benbp/on-core/issues{/number}","pulls_url":"https://api.github.com/repos/benbp/on-core/pulls{/number}","milestones_url":"https://api.github.com/repos/benbp/on-core/milestones{/number}","notifications_url":"https://api.github.com/repos/benbp/on-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benbp/on-core/labels{/name}","releases_url":"https://api.github.com/repos/benbp/on-core/releases{/id}","created_at":"2015-11-03T18:58:54Z","updated_at":"2015-11-03T18:58:55Z","pushed_at":"2015-12-14T23:02:18Z","git_url":"git://github.com/benbp/on-core.git","ssh_url":"git@github.com:benbp/on-core.git","clone_url":"https://github.com/benbp/on-core.git","svn_url":"https://github.com/benbp/on-core","homepage":null,"size":718,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RackHD:master","ref":"master","sha":"ea181e038e37fdbf6ce8a1019544de8440913782","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690044,"name":"on-core","full_name":"RackHD/on-core","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-core","description":"","fork":false,"url":"https://api.github.com/repos/RackHD/on-core","forks_url":"https://api.github.com/repos/RackHD/on-core/forks","keys_url":"https://api.github.com/repos/RackHD/on-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-core/teams","hooks_url":"https://api.github.com/repos/RackHD/on-core/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-core/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-core/events","assignees_url":"https://api.github.com/repos/RackHD/on-core/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-core/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-core/tags","blobs_url":"https://api.github.com/repos/RackHD/on-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-core/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-core/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-core/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-core/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-core/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-core/subscription","commits_url":"https://api.github.com/repos/RackHD/on-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-core/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-core/merges","archive_url":"https://api.github.com/repos/RackHD/on-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-core/downloads","issues_url":"https://api.github.com/repos/RackHD/on-core/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-core/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-core/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-core/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-core/releases{/id}","created_at":"2015-08-31T17:28:32Z","updated_at":"2015-12-08T20:01:53Z","pushed_at":"2015-12-14T23:02:31Z","git_url":"git://github.com/RackHD/on-core.git","ssh_url":"git@github.com:RackHD/on-core.git","clone_url":"https://github.com/RackHD/on-core.git","svn_url":"https://github.com/RackHD/on-core","homepage":null,"size":725,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":2,"forks":19,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-core/pulls/47"},"html":{"href":"https://github.com/RackHD/on-core/pull/47"},"issue":{"href":"https://api.github.com/repos/RackHD/on-core/issues/47"},"comments":{"href":"https://api.github.com/repos/RackHD/on-core/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-core/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-core/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-core/statuses/224bc10933a21a8ded545422b2c7d4d3d8983adf"}}}}