{"action":"created","comment":{"url":"https://api.github.com/repos/tsteer/cheer_forum/pulls/comments/136539271","pull_request_review_id":60092289,"id":136539271,"diff_hunk":"@@ -2,16 +2,23 @@\n \n RSpec.describe ForumThread, type: :model do\n   let(:title) { nil }\n-  let(:forum_thread) { ForumThread.new(title: title) }\n+  let(:forum_category) { nil }\n+  let(:forum_thread) { ForumThread.new(title: title, forum_category: forum_category) }\n   subject { forum_thread }\n \n   describe 'validate forum thread' do\n     context 'with no title' do\n       it('is not valid') { is_expected.to_not be_valid }\n     end\n \n-    context 'with a title' do\n+    context 'with a title and no forum category' do\n       let(:title) { 'Thread example title' }\n+      it('is not valid') { is_expected.to_not be_valid }\n+    end\n+\n+    context 'with a title and a forum category' do","path":"spec/models/forum_thread_spec.rb","position":20,"original_position":20,"commit_id":"ccd16f031674059dc5a9044485ee0522566d4fc6","original_commit_id":"ccd16f031674059dc5a9044485ee0522566d4fc6","user":{"login":"tsteer","id":15086186,"avatar_url":"https://avatars3.githubusercontent.com/u/15086186?v=4","gravatar_id":"","url":"https://api.github.com/users/tsteer","html_url":"https://github.com/tsteer","followers_url":"https://api.github.com/users/tsteer/followers","following_url":"https://api.github.com/users/tsteer/following{/other_user}","gists_url":"https://api.github.com/users/tsteer/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteer/subscriptions","organizations_url":"https://api.github.com/users/tsteer/orgs","repos_url":"https://api.github.com/users/tsteer/repos","events_url":"https://api.github.com/users/tsteer/events{/privacy}","received_events_url":"https://api.github.com/users/tsteer/received_events","type":"User","site_admin":false},"body":"I tried that earlier and decided to go with this naming method, thanks though!","created_at":"2017-09-01T09:51:22Z","updated_at":"2017-09-01T09:51:22Z","html_url":"https://github.com/tsteer/cheer_forum/pull/4#discussion_r136539271","pull_request_url":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/tsteer/cheer_forum/pulls/comments/136539271"},"html":{"href":"https://github.com/tsteer/cheer_forum/pull/4#discussion_r136539271"},"pull_request":{"href":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4"}},"in_reply_to_id":136426440},"pull_request":{"url":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4","id":138714984,"html_url":"https://github.com/tsteer/cheer_forum/pull/4","diff_url":"https://github.com/tsteer/cheer_forum/pull/4.diff","patch_url":"https://github.com/tsteer/cheer_forum/pull/4.patch","issue_url":"https://api.github.com/repos/tsteer/cheer_forum/issues/4","number":4,"state":"open","locked":false,"title":"Add forum categories","user":{"login":"tsteer","id":15086186,"avatar_url":"https://avatars3.githubusercontent.com/u/15086186?v=4","gravatar_id":"","url":"https://api.github.com/users/tsteer","html_url":"https://github.com/tsteer","followers_url":"https://api.github.com/users/tsteer/followers","following_url":"https://api.github.com/users/tsteer/following{/other_user}","gists_url":"https://api.github.com/users/tsteer/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteer/subscriptions","organizations_url":"https://api.github.com/users/tsteer/orgs","repos_url":"https://api.github.com/users/tsteer/repos","events_url":"https://api.github.com/users/tsteer/events{/privacy}","received_events_url":"https://api.github.com/users/tsteer/received_events","type":"User","site_admin":false},"body":null,"created_at":"2017-08-31T16:45:49Z","updated_at":"2017-09-01T09:51:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4679128fa9cb73be385dc7390824e16d70e70213","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4/commits","review_comments_url":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4/comments","review_comment_url":"https://api.github.com/repos/tsteer/cheer_forum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tsteer/cheer_forum/issues/4/comments","statuses_url":"https://api.github.com/repos/tsteer/cheer_forum/statuses/ccd16f031674059dc5a9044485ee0522566d4fc6","head":{"label":"tsteer:add-forum-categories","ref":"add-forum-categories","sha":"ccd16f031674059dc5a9044485ee0522566d4fc6","user":{"login":"tsteer","id":15086186,"avatar_url":"https://avatars3.githubusercontent.com/u/15086186?v=4","gravatar_id":"","url":"https://api.github.com/users/tsteer","html_url":"https://github.com/tsteer","followers_url":"https://api.github.com/users/tsteer/followers","following_url":"https://api.github.com/users/tsteer/following{/other_user}","gists_url":"https://api.github.com/users/tsteer/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteer/subscriptions","organizations_url":"https://api.github.com/users/tsteer/orgs","repos_url":"https://api.github.com/users/tsteer/repos","events_url":"https://api.github.com/users/tsteer/events{/privacy}","received_events_url":"https://api.github.com/users/tsteer/received_events","type":"User","site_admin":false},"repo":{"id":99830888,"name":"cheer_forum","full_name":"tsteer/cheer_forum","owner":{"login":"tsteer","id":15086186,"avatar_url":"https://avatars3.githubusercontent.com/u/15086186?v=4","gravatar_id":"","url":"https://api.github.com/users/tsteer","html_url":"https://github.com/tsteer","followers_url":"https://api.github.com/users/tsteer/followers","following_url":"https://api.github.com/users/tsteer/following{/other_user}","gists_url":"https://api.github.com/users/tsteer/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteer/subscriptions","organizations_url":"https://api.github.com/users/tsteer/orgs","repos_url":"https://api.github.com/users/tsteer/repos","events_url":"https://api.github.com/users/tsteer/events{/privacy}","received_events_url":"https://api.github.com/users/tsteer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsteer/cheer_forum","description":null,"fork":false,"url":"https://api.github.com/repos/tsteer/cheer_forum","forks_url":"https://api.github.com/repos/tsteer/cheer_forum/forks","keys_url":"https://api.github.com/repos/tsteer/cheer_forum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsteer/cheer_forum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsteer/cheer_forum/teams","hooks_url":"https://api.github.com/repos/tsteer/cheer_forum/hooks","issue_events_url":"https://api.github.com/repos/tsteer/cheer_forum/issues/events{/number}","events_url":"https://api.github.com/repos/tsteer/cheer_forum/events","assignees_url":"https://api.github.com/repos/tsteer/cheer_forum/assignees{/user}","branches_url":"https://api.github.com/repos/tsteer/cheer_forum/branches{/branch}","tags_url":"https://api.github.com/repos/tsteer/cheer_forum/tags","blobs_url":"https://api.github.com/repos/tsteer/cheer_forum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsteer/cheer_forum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsteer/cheer_forum/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsteer/cheer_forum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsteer/cheer_forum/statuses/{sha}","languages_url":"https://api.github.com/repos/tsteer/cheer_forum/languages","stargazers_url":"https://api.github.com/repos/tsteer/cheer_forum/stargazers","contributors_url":"https://api.github.com/repos/tsteer/cheer_forum/contributors","subscribers_url":"https://api.github.com/repos/tsteer/cheer_forum/subscribers","subscription_url":"https://api.github.com/repos/tsteer/cheer_forum/subscription","commits_url":"https://api.github.com/repos/tsteer/cheer_forum/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsteer/cheer_forum/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsteer/cheer_forum/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsteer/cheer_forum/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsteer/cheer_forum/contents/{+path}","compare_url":"https://api.github.com/repos/tsteer/cheer_forum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsteer/cheer_forum/merges","archive_url":"https://api.github.com/repos/tsteer/cheer_forum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsteer/cheer_forum/downloads","issues_url":"https://api.github.com/repos/tsteer/cheer_forum/issues{/number}","pulls_url":"https://api.github.com/repos/tsteer/cheer_forum/pulls{/number}","milestones_url":"https://api.github.com/repos/tsteer/cheer_forum/milestones{/number}","notifications_url":"https://api.github.com/repos/tsteer/cheer_forum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsteer/cheer_forum/labels{/name}","releases_url":"https://api.github.com/repos/tsteer/cheer_forum/releases{/id}","deployments_url":"https://api.github.com/repos/tsteer/cheer_forum/deployments","created_at":"2017-08-09T16:39:37Z","updated_at":"2017-08-31T11:29:54Z","pushed_at":"2017-09-01T09:48:28Z","git_url":"git://github.com/tsteer/cheer_forum.git","ssh_url":"git@github.com:tsteer/cheer_forum.git","clone_url":"https://github.com/tsteer/cheer_forum.git","svn_url":"https://github.com/tsteer/cheer_forum","homepage":null,"size":37,"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,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"tsteer:master","ref":"master","sha":"a3d26af775b40f0a0cc5e32842a0d7f049870916","user":{"login":"tsteer","id":15086186,"avatar_url":"https://avatars3.githubusercontent.com/u/15086186?v=4","gravatar_id":"","url":"https://api.github.com/users/tsteer","html_url":"https://github.com/tsteer","followers_url":"https://api.github.com/users/tsteer/followers","following_url":"https://api.github.com/users/tsteer/following{/other_user}","gists_url":"https://api.github.com/users/tsteer/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteer/subscriptions","organizations_url":"https://api.github.com/users/tsteer/orgs","repos_url":"https://api.github.com/users/tsteer/repos","events_url":"https://api.github.com/users/tsteer/events{/privacy}","received_events_url":"https://api.github.com/users/tsteer/received_events","type":"User","site_admin":false},"repo":{"id":99830888,"name":"cheer_forum","full_name":"tsteer/cheer_forum","owner":{"login":"tsteer","id":15086186,"avatar_url":"https://avatars3.githubusercontent.com/u/15086186?v=4","gravatar_id":"","url":"https://api.github.com/users/tsteer","html_url":"https://github.com/tsteer","followers_url":"https://api.github.com/users/tsteer/followers","following_url":"https://api.github.com/users/tsteer/following{/other_user}","gists_url":"https://api.github.com/users/tsteer/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteer/subscriptions","organizations_url":"https://api.github.com/users/tsteer/orgs","repos_url":"https://api.github.com/users/tsteer/repos","events_url":"https://api.github.com/users/tsteer/events{/privacy}","received_events_url":"https://api.github.com/users/tsteer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsteer/cheer_forum","description":null,"fork":false,"url":"https://api.github.com/repos/tsteer/cheer_forum","forks_url":"https://api.github.com/repos/tsteer/cheer_forum/forks","keys_url":"https://api.github.com/repos/tsteer/cheer_forum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsteer/cheer_forum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsteer/cheer_forum/teams","hooks_url":"https://api.github.com/repos/tsteer/cheer_forum/hooks","issue_events_url":"https://api.github.com/repos/tsteer/cheer_forum/issues/events{/number}","events_url":"https://api.github.com/repos/tsteer/cheer_forum/events","assignees_url":"https://api.github.com/repos/tsteer/cheer_forum/assignees{/user}","branches_url":"https://api.github.com/repos/tsteer/cheer_forum/branches{/branch}","tags_url":"https://api.github.com/repos/tsteer/cheer_forum/tags","blobs_url":"https://api.github.com/repos/tsteer/cheer_forum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsteer/cheer_forum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsteer/cheer_forum/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsteer/cheer_forum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsteer/cheer_forum/statuses/{sha}","languages_url":"https://api.github.com/repos/tsteer/cheer_forum/languages","stargazers_url":"https://api.github.com/repos/tsteer/cheer_forum/stargazers","contributors_url":"https://api.github.com/repos/tsteer/cheer_forum/contributors","subscribers_url":"https://api.github.com/repos/tsteer/cheer_forum/subscribers","subscription_url":"https://api.github.com/repos/tsteer/cheer_forum/subscription","commits_url":"https://api.github.com/repos/tsteer/cheer_forum/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsteer/cheer_forum/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsteer/cheer_forum/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsteer/cheer_forum/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsteer/cheer_forum/contents/{+path}","compare_url":"https://api.github.com/repos/tsteer/cheer_forum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsteer/cheer_forum/merges","archive_url":"https://api.github.com/repos/tsteer/cheer_forum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsteer/cheer_forum/downloads","issues_url":"https://api.github.com/repos/tsteer/cheer_forum/issues{/number}","pulls_url":"https://api.github.com/repos/tsteer/cheer_forum/pulls{/number}","milestones_url":"https://api.github.com/repos/tsteer/cheer_forum/milestones{/number}","notifications_url":"https://api.github.com/repos/tsteer/cheer_forum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsteer/cheer_forum/labels{/name}","releases_url":"https://api.github.com/repos/tsteer/cheer_forum/releases{/id}","deployments_url":"https://api.github.com/repos/tsteer/cheer_forum/deployments","created_at":"2017-08-09T16:39:37Z","updated_at":"2017-08-31T11:29:54Z","pushed_at":"2017-09-01T09:48:28Z","git_url":"git://github.com/tsteer/cheer_forum.git","ssh_url":"git@github.com:tsteer/cheer_forum.git","clone_url":"https://github.com/tsteer/cheer_forum.git","svn_url":"https://github.com/tsteer/cheer_forum","homepage":null,"size":37,"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,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4"},"html":{"href":"https://github.com/tsteer/cheer_forum/pull/4"},"issue":{"href":"https://api.github.com/repos/tsteer/cheer_forum/issues/4"},"comments":{"href":"https://api.github.com/repos/tsteer/cheer_forum/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/tsteer/cheer_forum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tsteer/cheer_forum/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/tsteer/cheer_forum/statuses/ccd16f031674059dc5a9044485ee0522566d4fc6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"tsteer"}}