{"action":"created","comment":{"url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/comments/186619560","pull_request_review_id":118230986,"id":186619560,"diff_hunk":"@@ -0,0 +1,21 @@\n+FactoryBot.define do\n+  trait :publishable do","path":"spec/factories/product.rb","position":2,"original_position":2,"commit_id":"4f26e7508221bb64f8bd191c3016c8ad6ce1994f","original_commit_id":"4f26e7508221bb64f8bd191c3016c8ad6ce1994f","user":{"login":"vinay-mittal","id":12937284,"avatar_url":"https://avatars0.githubusercontent.com/u/12937284?v=4","gravatar_id":"","url":"https://api.github.com/users/vinay-mittal","html_url":"https://github.com/vinay-mittal","followers_url":"https://api.github.com/users/vinay-mittal/followers","following_url":"https://api.github.com/users/vinay-mittal/following{/other_user}","gists_url":"https://api.github.com/users/vinay-mittal/gists{/gist_id}","starred_url":"https://api.github.com/users/vinay-mittal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinay-mittal/subscriptions","organizations_url":"https://api.github.com/users/vinay-mittal/orgs","repos_url":"https://api.github.com/users/vinay-mittal/repos","events_url":"https://api.github.com/users/vinay-mittal/events{/privacy}","received_events_url":"https://api.github.com/users/vinay-mittal/received_events","type":"User","site_admin":false},"body":"traits are used with factories. Avoid alone usage as much as possible.","created_at":"2018-05-08T05:25:29Z","updated_at":"2018-05-08T05:27:51Z","html_url":"https://github.com/jynti/spree_product_publishable/pull/5#discussion_r186619560","pull_request_url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/comments/186619560"},"html":{"href":"https://github.com/jynti/spree_product_publishable/pull/5#discussion_r186619560"},"pull_request":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5","id":186526451,"html_url":"https://github.com/jynti/spree_product_publishable/pull/5","diff_url":"https://github.com/jynti/spree_product_publishable/pull/5.diff","patch_url":"https://github.com/jynti/spree_product_publishable/pull/5.patch","issue_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues/5","number":5,"state":"open","locked":false,"title":"Adds Rspec","user":{"login":"jynti","id":33417806,"avatar_url":"https://avatars2.githubusercontent.com/u/33417806?v=4","gravatar_id":"","url":"https://api.github.com/users/jynti","html_url":"https://github.com/jynti","followers_url":"https://api.github.com/users/jynti/followers","following_url":"https://api.github.com/users/jynti/following{/other_user}","gists_url":"https://api.github.com/users/jynti/gists{/gist_id}","starred_url":"https://api.github.com/users/jynti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jynti/subscriptions","organizations_url":"https://api.github.com/users/jynti/orgs","repos_url":"https://api.github.com/users/jynti/repos","events_url":"https://api.github.com/users/jynti/events{/privacy}","received_events_url":"https://api.github.com/users/jynti/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-08T04:56:28Z","updated_at":"2018-05-08T05:27:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8cf7799126f79b100a3663dcc71d1ed6028b34e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5/commits","review_comments_url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5/comments","review_comment_url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues/5/comments","statuses_url":"https://api.github.com/repos/jynti/spree_product_publishable/statuses/4f26e7508221bb64f8bd191c3016c8ad6ce1994f","head":{"label":"jynti:rspec","ref":"rspec","sha":"4f26e7508221bb64f8bd191c3016c8ad6ce1994f","user":{"login":"jynti","id":33417806,"avatar_url":"https://avatars2.githubusercontent.com/u/33417806?v=4","gravatar_id":"","url":"https://api.github.com/users/jynti","html_url":"https://github.com/jynti","followers_url":"https://api.github.com/users/jynti/followers","following_url":"https://api.github.com/users/jynti/following{/other_user}","gists_url":"https://api.github.com/users/jynti/gists{/gist_id}","starred_url":"https://api.github.com/users/jynti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jynti/subscriptions","organizations_url":"https://api.github.com/users/jynti/orgs","repos_url":"https://api.github.com/users/jynti/repos","events_url":"https://api.github.com/users/jynti/events{/privacy}","received_events_url":"https://api.github.com/users/jynti/received_events","type":"User","site_admin":false},"repo":{"id":131830912,"name":"spree_product_publishable","full_name":"jynti/spree_product_publishable","owner":{"login":"jynti","id":33417806,"avatar_url":"https://avatars2.githubusercontent.com/u/33417806?v=4","gravatar_id":"","url":"https://api.github.com/users/jynti","html_url":"https://github.com/jynti","followers_url":"https://api.github.com/users/jynti/followers","following_url":"https://api.github.com/users/jynti/following{/other_user}","gists_url":"https://api.github.com/users/jynti/gists{/gist_id}","starred_url":"https://api.github.com/users/jynti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jynti/subscriptions","organizations_url":"https://api.github.com/users/jynti/orgs","repos_url":"https://api.github.com/users/jynti/repos","events_url":"https://api.github.com/users/jynti/events{/privacy}","received_events_url":"https://api.github.com/users/jynti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jynti/spree_product_publishable","description":null,"fork":false,"url":"https://api.github.com/repos/jynti/spree_product_publishable","forks_url":"https://api.github.com/repos/jynti/spree_product_publishable/forks","keys_url":"https://api.github.com/repos/jynti/spree_product_publishable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jynti/spree_product_publishable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jynti/spree_product_publishable/teams","hooks_url":"https://api.github.com/repos/jynti/spree_product_publishable/hooks","issue_events_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues/events{/number}","events_url":"https://api.github.com/repos/jynti/spree_product_publishable/events","assignees_url":"https://api.github.com/repos/jynti/spree_product_publishable/assignees{/user}","branches_url":"https://api.github.com/repos/jynti/spree_product_publishable/branches{/branch}","tags_url":"https://api.github.com/repos/jynti/spree_product_publishable/tags","blobs_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/refs{/sha}","trees_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jynti/spree_product_publishable/statuses/{sha}","languages_url":"https://api.github.com/repos/jynti/spree_product_publishable/languages","stargazers_url":"https://api.github.com/repos/jynti/spree_product_publishable/stargazers","contributors_url":"https://api.github.com/repos/jynti/spree_product_publishable/contributors","subscribers_url":"https://api.github.com/repos/jynti/spree_product_publishable/subscribers","subscription_url":"https://api.github.com/repos/jynti/spree_product_publishable/subscription","commits_url":"https://api.github.com/repos/jynti/spree_product_publishable/commits{/sha}","git_commits_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/commits{/sha}","comments_url":"https://api.github.com/repos/jynti/spree_product_publishable/comments{/number}","issue_comment_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues/comments{/number}","contents_url":"https://api.github.com/repos/jynti/spree_product_publishable/contents/{+path}","compare_url":"https://api.github.com/repos/jynti/spree_product_publishable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jynti/spree_product_publishable/merges","archive_url":"https://api.github.com/repos/jynti/spree_product_publishable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jynti/spree_product_publishable/downloads","issues_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues{/number}","pulls_url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls{/number}","milestones_url":"https://api.github.com/repos/jynti/spree_product_publishable/milestones{/number}","notifications_url":"https://api.github.com/repos/jynti/spree_product_publishable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jynti/spree_product_publishable/labels{/name}","releases_url":"https://api.github.com/repos/jynti/spree_product_publishable/releases{/id}","deployments_url":"https://api.github.com/repos/jynti/spree_product_publishable/deployments","created_at":"2018-05-02T09:48:22Z","updated_at":"2018-05-03T11:49:19Z","pushed_at":"2018-05-08T04:56:29Z","git_url":"git://github.com/jynti/spree_product_publishable.git","ssh_url":"git@github.com:jynti/spree_product_publishable.git","clone_url":"https://github.com/jynti/spree_product_publishable.git","svn_url":"https://github.com/jynti/spree_product_publishable","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"jynti:appraisal","ref":"appraisal","sha":"9d57631a2b6cbdcd23364efb48b905998a1da020","user":{"login":"jynti","id":33417806,"avatar_url":"https://avatars2.githubusercontent.com/u/33417806?v=4","gravatar_id":"","url":"https://api.github.com/users/jynti","html_url":"https://github.com/jynti","followers_url":"https://api.github.com/users/jynti/followers","following_url":"https://api.github.com/users/jynti/following{/other_user}","gists_url":"https://api.github.com/users/jynti/gists{/gist_id}","starred_url":"https://api.github.com/users/jynti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jynti/subscriptions","organizations_url":"https://api.github.com/users/jynti/orgs","repos_url":"https://api.github.com/users/jynti/repos","events_url":"https://api.github.com/users/jynti/events{/privacy}","received_events_url":"https://api.github.com/users/jynti/received_events","type":"User","site_admin":false},"repo":{"id":131830912,"name":"spree_product_publishable","full_name":"jynti/spree_product_publishable","owner":{"login":"jynti","id":33417806,"avatar_url":"https://avatars2.githubusercontent.com/u/33417806?v=4","gravatar_id":"","url":"https://api.github.com/users/jynti","html_url":"https://github.com/jynti","followers_url":"https://api.github.com/users/jynti/followers","following_url":"https://api.github.com/users/jynti/following{/other_user}","gists_url":"https://api.github.com/users/jynti/gists{/gist_id}","starred_url":"https://api.github.com/users/jynti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jynti/subscriptions","organizations_url":"https://api.github.com/users/jynti/orgs","repos_url":"https://api.github.com/users/jynti/repos","events_url":"https://api.github.com/users/jynti/events{/privacy}","received_events_url":"https://api.github.com/users/jynti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jynti/spree_product_publishable","description":null,"fork":false,"url":"https://api.github.com/repos/jynti/spree_product_publishable","forks_url":"https://api.github.com/repos/jynti/spree_product_publishable/forks","keys_url":"https://api.github.com/repos/jynti/spree_product_publishable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jynti/spree_product_publishable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jynti/spree_product_publishable/teams","hooks_url":"https://api.github.com/repos/jynti/spree_product_publishable/hooks","issue_events_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues/events{/number}","events_url":"https://api.github.com/repos/jynti/spree_product_publishable/events","assignees_url":"https://api.github.com/repos/jynti/spree_product_publishable/assignees{/user}","branches_url":"https://api.github.com/repos/jynti/spree_product_publishable/branches{/branch}","tags_url":"https://api.github.com/repos/jynti/spree_product_publishable/tags","blobs_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/refs{/sha}","trees_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jynti/spree_product_publishable/statuses/{sha}","languages_url":"https://api.github.com/repos/jynti/spree_product_publishable/languages","stargazers_url":"https://api.github.com/repos/jynti/spree_product_publishable/stargazers","contributors_url":"https://api.github.com/repos/jynti/spree_product_publishable/contributors","subscribers_url":"https://api.github.com/repos/jynti/spree_product_publishable/subscribers","subscription_url":"https://api.github.com/repos/jynti/spree_product_publishable/subscription","commits_url":"https://api.github.com/repos/jynti/spree_product_publishable/commits{/sha}","git_commits_url":"https://api.github.com/repos/jynti/spree_product_publishable/git/commits{/sha}","comments_url":"https://api.github.com/repos/jynti/spree_product_publishable/comments{/number}","issue_comment_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues/comments{/number}","contents_url":"https://api.github.com/repos/jynti/spree_product_publishable/contents/{+path}","compare_url":"https://api.github.com/repos/jynti/spree_product_publishable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jynti/spree_product_publishable/merges","archive_url":"https://api.github.com/repos/jynti/spree_product_publishable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jynti/spree_product_publishable/downloads","issues_url":"https://api.github.com/repos/jynti/spree_product_publishable/issues{/number}","pulls_url":"https://api.github.com/repos/jynti/spree_product_publishable/pulls{/number}","milestones_url":"https://api.github.com/repos/jynti/spree_product_publishable/milestones{/number}","notifications_url":"https://api.github.com/repos/jynti/spree_product_publishable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jynti/spree_product_publishable/labels{/name}","releases_url":"https://api.github.com/repos/jynti/spree_product_publishable/releases{/id}","deployments_url":"https://api.github.com/repos/jynti/spree_product_publishable/deployments","created_at":"2018-05-02T09:48:22Z","updated_at":"2018-05-03T11:49:19Z","pushed_at":"2018-05-08T04:56:29Z","git_url":"git://github.com/jynti/spree_product_publishable.git","ssh_url":"git@github.com:jynti/spree_product_publishable.git","clone_url":"https://github.com/jynti/spree_product_publishable.git","svn_url":"https://github.com/jynti/spree_product_publishable","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5"},"html":{"href":"https://github.com/jynti/spree_product_publishable/pull/5"},"issue":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/issues/5"},"comments":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/jynti/spree_product_publishable/statuses/4f26e7508221bb64f8bd191c3016c8ad6ce1994f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vinay-mittal"}}