{"action":"created","comment":{"url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/comments/32501502","id":32501502,"diff_hunk":"@@ -0,0 +1,8 @@\n+require 'faker'\n+\n+FactoryGirl.define do\n+  factory :account do |f|","path":"spec/factories/accounts.rb","position":4,"original_position":4,"commit_id":"f6fb0130da181dd1a4ed510c55649ec17491f71a","original_commit_id":"f6fb0130da181dd1a4ed510c55649ec17491f71a","user":{"login":"USAWal","id":1826900,"avatar_url":"https://avatars.githubusercontent.com/u/1826900?v=3","gravatar_id":"","url":"https://api.github.com/users/USAWal","html_url":"https://github.com/USAWal","followers_url":"https://api.github.com/users/USAWal/followers","following_url":"https://api.github.com/users/USAWal/following{/other_user}","gists_url":"https://api.github.com/users/USAWal/gists{/gist_id}","starred_url":"https://api.github.com/users/USAWal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USAWal/subscriptions","organizations_url":"https://api.github.com/users/USAWal/orgs","repos_url":"https://api.github.com/users/USAWal/repos","events_url":"https://api.github.com/users/USAWal/events{/privacy}","received_events_url":"https://api.github.com/users/USAWal/received_events","type":"User","site_admin":false},"body":"предлагаю более короткую форму\r\n```ruby\r\nfactory :account do\r\n  name { Faker::Company.name }\r\nend\r\n```","created_at":"2015-06-16T08:48:15Z","updated_at":"2015-06-16T08:48:15Z","html_url":"https://github.com/sergey-galichkin/test-commerce/pull/4#discussion_r32501502","pull_request_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/comments/32501502"},"html":{"href":"https://github.com/sergey-galichkin/test-commerce/pull/4#discussion_r32501502"},"pull_request":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4","id":37670691,"html_url":"https://github.com/sergey-galichkin/test-commerce/pull/4","diff_url":"https://github.com/sergey-galichkin/test-commerce/pull/4.diff","patch_url":"https://github.com/sergey-galichkin/test-commerce/pull/4.patch","issue_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/4","number":4,"state":"open","locked":false,"title":"Feature/register account","user":{"login":"alexander-e1off","id":12794378,"avatar_url":"https://avatars.githubusercontent.com/u/12794378?v=3","gravatar_id":"","url":"https://api.github.com/users/alexander-e1off","html_url":"https://github.com/alexander-e1off","followers_url":"https://api.github.com/users/alexander-e1off/followers","following_url":"https://api.github.com/users/alexander-e1off/following{/other_user}","gists_url":"https://api.github.com/users/alexander-e1off/gists{/gist_id}","starred_url":"https://api.github.com/users/alexander-e1off/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexander-e1off/subscriptions","organizations_url":"https://api.github.com/users/alexander-e1off/orgs","repos_url":"https://api.github.com/users/alexander-e1off/repos","events_url":"https://api.github.com/users/alexander-e1off/events{/privacy}","received_events_url":"https://api.github.com/users/alexander-e1off/received_events","type":"User","site_admin":false},"body":"Please review only Account model and test. Please don't merge.","created_at":"2015-06-15T09:00:53Z","updated_at":"2015-06-16T08:48:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05d2397dafde0d3708610daf19c029586ad90641","assignee":{"login":"USAWal","id":1826900,"avatar_url":"https://avatars.githubusercontent.com/u/1826900?v=3","gravatar_id":"","url":"https://api.github.com/users/USAWal","html_url":"https://github.com/USAWal","followers_url":"https://api.github.com/users/USAWal/followers","following_url":"https://api.github.com/users/USAWal/following{/other_user}","gists_url":"https://api.github.com/users/USAWal/gists{/gist_id}","starred_url":"https://api.github.com/users/USAWal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USAWal/subscriptions","organizations_url":"https://api.github.com/users/USAWal/orgs","repos_url":"https://api.github.com/users/USAWal/repos","events_url":"https://api.github.com/users/USAWal/events{/privacy}","received_events_url":"https://api.github.com/users/USAWal/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/4/comments","statuses_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/statuses/f6fb0130da181dd1a4ed510c55649ec17491f71a","head":{"label":"sergey-galichkin:feature/register_account","ref":"feature/register_account","sha":"f6fb0130da181dd1a4ed510c55649ec17491f71a","user":{"login":"sergey-galichkin","id":662031,"avatar_url":"https://avatars.githubusercontent.com/u/662031?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-galichkin","html_url":"https://github.com/sergey-galichkin","followers_url":"https://api.github.com/users/sergey-galichkin/followers","following_url":"https://api.github.com/users/sergey-galichkin/following{/other_user}","gists_url":"https://api.github.com/users/sergey-galichkin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-galichkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-galichkin/subscriptions","organizations_url":"https://api.github.com/users/sergey-galichkin/orgs","repos_url":"https://api.github.com/users/sergey-galichkin/repos","events_url":"https://api.github.com/users/sergey-galichkin/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-galichkin/received_events","type":"User","site_admin":false},"repo":{"id":36927707,"name":"test-commerce","full_name":"sergey-galichkin/test-commerce","owner":{"login":"sergey-galichkin","id":662031,"avatar_url":"https://avatars.githubusercontent.com/u/662031?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-galichkin","html_url":"https://github.com/sergey-galichkin","followers_url":"https://api.github.com/users/sergey-galichkin/followers","following_url":"https://api.github.com/users/sergey-galichkin/following{/other_user}","gists_url":"https://api.github.com/users/sergey-galichkin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-galichkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-galichkin/subscriptions","organizations_url":"https://api.github.com/users/sergey-galichkin/orgs","repos_url":"https://api.github.com/users/sergey-galichkin/repos","events_url":"https://api.github.com/users/sergey-galichkin/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-galichkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sergey-galichkin/test-commerce","description":"","fork":false,"url":"https://api.github.com/repos/sergey-galichkin/test-commerce","forks_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/forks","keys_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/teams","hooks_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/hooks","issue_events_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/events{/number}","events_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/events","assignees_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/assignees{/user}","branches_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/branches{/branch}","tags_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/tags","blobs_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/statuses/{sha}","languages_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/languages","stargazers_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/stargazers","contributors_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/contributors","subscribers_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/subscribers","subscription_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/subscription","commits_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/contents/{+path}","compare_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/merges","archive_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/downloads","issues_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues{/number}","pulls_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls{/number}","milestones_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/milestones{/number}","notifications_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/labels{/name}","releases_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/releases{/id}","created_at":"2015-06-05T10:49:46Z","updated_at":"2015-06-05T11:16:52Z","pushed_at":"2015-06-15T12:28:57Z","git_url":"git://github.com/sergey-galichkin/test-commerce.git","ssh_url":"git@github.com:sergey-galichkin/test-commerce.git","clone_url":"https://github.com/sergey-galichkin/test-commerce.git","svn_url":"https://github.com/sergey-galichkin/test-commerce","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":0,"default_branch":"development"}},"base":{"label":"sergey-galichkin:development","ref":"development","sha":"8156b09f24b6ca3c8cec97fb709c1c05e9fac9bf","user":{"login":"sergey-galichkin","id":662031,"avatar_url":"https://avatars.githubusercontent.com/u/662031?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-galichkin","html_url":"https://github.com/sergey-galichkin","followers_url":"https://api.github.com/users/sergey-galichkin/followers","following_url":"https://api.github.com/users/sergey-galichkin/following{/other_user}","gists_url":"https://api.github.com/users/sergey-galichkin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-galichkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-galichkin/subscriptions","organizations_url":"https://api.github.com/users/sergey-galichkin/orgs","repos_url":"https://api.github.com/users/sergey-galichkin/repos","events_url":"https://api.github.com/users/sergey-galichkin/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-galichkin/received_events","type":"User","site_admin":false},"repo":{"id":36927707,"name":"test-commerce","full_name":"sergey-galichkin/test-commerce","owner":{"login":"sergey-galichkin","id":662031,"avatar_url":"https://avatars.githubusercontent.com/u/662031?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-galichkin","html_url":"https://github.com/sergey-galichkin","followers_url":"https://api.github.com/users/sergey-galichkin/followers","following_url":"https://api.github.com/users/sergey-galichkin/following{/other_user}","gists_url":"https://api.github.com/users/sergey-galichkin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-galichkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-galichkin/subscriptions","organizations_url":"https://api.github.com/users/sergey-galichkin/orgs","repos_url":"https://api.github.com/users/sergey-galichkin/repos","events_url":"https://api.github.com/users/sergey-galichkin/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-galichkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sergey-galichkin/test-commerce","description":"","fork":false,"url":"https://api.github.com/repos/sergey-galichkin/test-commerce","forks_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/forks","keys_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/teams","hooks_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/hooks","issue_events_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/events{/number}","events_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/events","assignees_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/assignees{/user}","branches_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/branches{/branch}","tags_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/tags","blobs_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/statuses/{sha}","languages_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/languages","stargazers_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/stargazers","contributors_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/contributors","subscribers_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/subscribers","subscription_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/subscription","commits_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/contents/{+path}","compare_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/merges","archive_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/downloads","issues_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues{/number}","pulls_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls{/number}","milestones_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/milestones{/number}","notifications_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/labels{/name}","releases_url":"https://api.github.com/repos/sergey-galichkin/test-commerce/releases{/id}","created_at":"2015-06-05T10:49:46Z","updated_at":"2015-06-05T11:16:52Z","pushed_at":"2015-06-15T12:28:57Z","git_url":"git://github.com/sergey-galichkin/test-commerce.git","ssh_url":"git@github.com:sergey-galichkin/test-commerce.git","clone_url":"https://github.com/sergey-galichkin/test-commerce.git","svn_url":"https://github.com/sergey-galichkin/test-commerce","homepage":null,"size":212,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4"},"html":{"href":"https://github.com/sergey-galichkin/test-commerce/pull/4"},"issue":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/4"},"comments":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sergey-galichkin/test-commerce/statuses/f6fb0130da181dd1a4ed510c55649ec17491f71a"}}}}