{"action":"created","comment":{"url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/comments/34051635","id":34051635,"diff_hunk":"@@ -0,0 +1,19 @@\n+(function () {\n+\n+  'use strict';\n+\n+  Meteor.methods({\n+    'reset' : function() {\n+      Meteor.users.remove({});\n+      UserProfiles.remove({});\n+    },\n+\n+    'createProfile' : function(field, value) {\n+      var attributes = {};\n+      attributes[field] = value;\n+      attributes['_id'] = 'fakeid';","path":"tests/cucumber/fixtures/accounts_fixtures.js","position":14,"original_position":14,"commit_id":"8114bf4c2e696cc89bc2bd3dda2dadeae6cb323f","original_commit_id":"8114bf4c2e696cc89bc2bd3dda2dadeae6cb323f","user":{"login":"dannysullivan","id":1645863,"avatar_url":"https://avatars.githubusercontent.com/u/1645863?v=3","gravatar_id":"","url":"https://api.github.com/users/dannysullivan","html_url":"https://github.com/dannysullivan","followers_url":"https://api.github.com/users/dannysullivan/followers","following_url":"https://api.github.com/users/dannysullivan/following{/other_user}","gists_url":"https://api.github.com/users/dannysullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/dannysullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannysullivan/subscriptions","organizations_url":"https://api.github.com/users/dannysullivan/orgs","repos_url":"https://api.github.com/users/dannysullivan/repos","events_url":"https://api.github.com/users/dannysullivan/events{/privacy}","received_events_url":"https://api.github.com/users/dannysullivan/received_events","type":"User","site_admin":false},"body":"I can't think of a circumstance where you'd need to specify an ID rather than just know what the ID is.  That said, I like the idea of this method taking an argument and the step implementation calling this method with a hardcoded value.","created_at":"2015-07-07T15:18:07Z","updated_at":"2015-07-07T15:18:07Z","html_url":"https://github.com/ecohealthalliance/mantle/pull/51#discussion_r34051635","pull_request_url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/comments/34051635"},"html":{"href":"https://github.com/ecohealthalliance/mantle/pull/51#discussion_r34051635"},"pull_request":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51","id":38816232,"html_url":"https://github.com/ecohealthalliance/mantle/pull/51","diff_url":"https://github.com/ecohealthalliance/mantle/pull/51.diff","patch_url":"https://github.com/ecohealthalliance/mantle/pull/51.patch","issue_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues/51","number":51,"state":"open","locked":false,"title":"Allow users to edit and update their profile","user":{"login":"dannysullivan","id":1645863,"avatar_url":"https://avatars.githubusercontent.com/u/1645863?v=3","gravatar_id":"","url":"https://api.github.com/users/dannysullivan","html_url":"https://github.com/dannysullivan","followers_url":"https://api.github.com/users/dannysullivan/followers","following_url":"https://api.github.com/users/dannysullivan/following{/other_user}","gists_url":"https://api.github.com/users/dannysullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/dannysullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannysullivan/subscriptions","organizations_url":"https://api.github.com/users/dannysullivan/orgs","repos_url":"https://api.github.com/users/dannysullivan/repos","events_url":"https://api.github.com/users/dannysullivan/events{/privacy}","received_events_url":"https://api.github.com/users/dannysullivan/received_events","type":"User","site_admin":false},"body":"Also establish unit testing patterns and MVC package structure.","created_at":"2015-06-29T20:52:19Z","updated_at":"2015-07-07T15:18:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77d3b3a216127baf07a72b66cbfd88cb9ecb05f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51/commits","review_comments_url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51/comments","review_comment_url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues/51/comments","statuses_url":"https://api.github.com/repos/ecohealthalliance/mantle/statuses/8114bf4c2e696cc89bc2bd3dda2dadeae6cb323f","head":{"label":"ecohealthalliance:profile","ref":"profile","sha":"8114bf4c2e696cc89bc2bd3dda2dadeae6cb323f","user":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars.githubusercontent.com/u/1501231?v=3","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"repo":{"id":30246826,"name":"mantle","full_name":"ecohealthalliance/mantle","owner":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars.githubusercontent.com/u/1501231?v=3","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ecohealthalliance/mantle","description":"An open-source web platform to power the next decade of One Health biosurveillance","fork":false,"url":"https://api.github.com/repos/ecohealthalliance/mantle","forks_url":"https://api.github.com/repos/ecohealthalliance/mantle/forks","keys_url":"https://api.github.com/repos/ecohealthalliance/mantle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecohealthalliance/mantle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecohealthalliance/mantle/teams","hooks_url":"https://api.github.com/repos/ecohealthalliance/mantle/hooks","issue_events_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues/events{/number}","events_url":"https://api.github.com/repos/ecohealthalliance/mantle/events","assignees_url":"https://api.github.com/repos/ecohealthalliance/mantle/assignees{/user}","branches_url":"https://api.github.com/repos/ecohealthalliance/mantle/branches{/branch}","tags_url":"https://api.github.com/repos/ecohealthalliance/mantle/tags","blobs_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecohealthalliance/mantle/statuses/{sha}","languages_url":"https://api.github.com/repos/ecohealthalliance/mantle/languages","stargazers_url":"https://api.github.com/repos/ecohealthalliance/mantle/stargazers","contributors_url":"https://api.github.com/repos/ecohealthalliance/mantle/contributors","subscribers_url":"https://api.github.com/repos/ecohealthalliance/mantle/subscribers","subscription_url":"https://api.github.com/repos/ecohealthalliance/mantle/subscription","commits_url":"https://api.github.com/repos/ecohealthalliance/mantle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecohealthalliance/mantle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecohealthalliance/mantle/contents/{+path}","compare_url":"https://api.github.com/repos/ecohealthalliance/mantle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecohealthalliance/mantle/merges","archive_url":"https://api.github.com/repos/ecohealthalliance/mantle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecohealthalliance/mantle/downloads","issues_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues{/number}","pulls_url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls{/number}","milestones_url":"https://api.github.com/repos/ecohealthalliance/mantle/milestones{/number}","notifications_url":"https://api.github.com/repos/ecohealthalliance/mantle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecohealthalliance/mantle/labels{/name}","releases_url":"https://api.github.com/repos/ecohealthalliance/mantle/releases{/id}","created_at":"2015-02-03T14:32:36Z","updated_at":"2015-06-10T18:00:18Z","pushed_at":"2015-07-07T14:50:31Z","git_url":"git://github.com/ecohealthalliance/mantle.git","ssh_url":"git@github.com:ecohealthalliance/mantle.git","clone_url":"https://github.com/ecohealthalliance/mantle.git","svn_url":"https://github.com/ecohealthalliance/mantle","homepage":"http://mantle.io","size":702,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":39,"forks":0,"open_issues":39,"watchers":2,"default_branch":"master"}},"base":{"label":"ecohealthalliance:master","ref":"master","sha":"98377b215189716fbf90a05999328ef94c55e20d","user":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars.githubusercontent.com/u/1501231?v=3","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"repo":{"id":30246826,"name":"mantle","full_name":"ecohealthalliance/mantle","owner":{"login":"ecohealthalliance","id":1501231,"avatar_url":"https://avatars.githubusercontent.com/u/1501231?v=3","gravatar_id":"","url":"https://api.github.com/users/ecohealthalliance","html_url":"https://github.com/ecohealthalliance","followers_url":"https://api.github.com/users/ecohealthalliance/followers","following_url":"https://api.github.com/users/ecohealthalliance/following{/other_user}","gists_url":"https://api.github.com/users/ecohealthalliance/gists{/gist_id}","starred_url":"https://api.github.com/users/ecohealthalliance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecohealthalliance/subscriptions","organizations_url":"https://api.github.com/users/ecohealthalliance/orgs","repos_url":"https://api.github.com/users/ecohealthalliance/repos","events_url":"https://api.github.com/users/ecohealthalliance/events{/privacy}","received_events_url":"https://api.github.com/users/ecohealthalliance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ecohealthalliance/mantle","description":"An open-source web platform to power the next decade of One Health biosurveillance","fork":false,"url":"https://api.github.com/repos/ecohealthalliance/mantle","forks_url":"https://api.github.com/repos/ecohealthalliance/mantle/forks","keys_url":"https://api.github.com/repos/ecohealthalliance/mantle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ecohealthalliance/mantle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ecohealthalliance/mantle/teams","hooks_url":"https://api.github.com/repos/ecohealthalliance/mantle/hooks","issue_events_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues/events{/number}","events_url":"https://api.github.com/repos/ecohealthalliance/mantle/events","assignees_url":"https://api.github.com/repos/ecohealthalliance/mantle/assignees{/user}","branches_url":"https://api.github.com/repos/ecohealthalliance/mantle/branches{/branch}","tags_url":"https://api.github.com/repos/ecohealthalliance/mantle/tags","blobs_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ecohealthalliance/mantle/statuses/{sha}","languages_url":"https://api.github.com/repos/ecohealthalliance/mantle/languages","stargazers_url":"https://api.github.com/repos/ecohealthalliance/mantle/stargazers","contributors_url":"https://api.github.com/repos/ecohealthalliance/mantle/contributors","subscribers_url":"https://api.github.com/repos/ecohealthalliance/mantle/subscribers","subscription_url":"https://api.github.com/repos/ecohealthalliance/mantle/subscription","commits_url":"https://api.github.com/repos/ecohealthalliance/mantle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ecohealthalliance/mantle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ecohealthalliance/mantle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues/comments{/number}","contents_url":"https://api.github.com/repos/ecohealthalliance/mantle/contents/{+path}","compare_url":"https://api.github.com/repos/ecohealthalliance/mantle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ecohealthalliance/mantle/merges","archive_url":"https://api.github.com/repos/ecohealthalliance/mantle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ecohealthalliance/mantle/downloads","issues_url":"https://api.github.com/repos/ecohealthalliance/mantle/issues{/number}","pulls_url":"https://api.github.com/repos/ecohealthalliance/mantle/pulls{/number}","milestones_url":"https://api.github.com/repos/ecohealthalliance/mantle/milestones{/number}","notifications_url":"https://api.github.com/repos/ecohealthalliance/mantle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ecohealthalliance/mantle/labels{/name}","releases_url":"https://api.github.com/repos/ecohealthalliance/mantle/releases{/id}","created_at":"2015-02-03T14:32:36Z","updated_at":"2015-06-10T18:00:18Z","pushed_at":"2015-07-07T14:50:31Z","git_url":"git://github.com/ecohealthalliance/mantle.git","ssh_url":"git@github.com:ecohealthalliance/mantle.git","clone_url":"https://github.com/ecohealthalliance/mantle.git","svn_url":"https://github.com/ecohealthalliance/mantle","homepage":"http://mantle.io","size":702,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":39,"forks":0,"open_issues":39,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51"},"html":{"href":"https://github.com/ecohealthalliance/mantle/pull/51"},"issue":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/issues/51"},"comments":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/ecohealthalliance/mantle/statuses/8114bf4c2e696cc89bc2bd3dda2dadeae6cb323f"}}}}