{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/comments/51668389","id":51668389,"diff_hunk":"@@ -39,14 +39,21 @@ class PicturesControllerTest < ActionController::TestCase\n \n   test 'can create an image' do\n     assert_difference('Picture.count', 1) do\n-      post :create, picture: { link: 'https://media.giphy.com/media/yVZG1TGSG44xO/giphy.gif' }\n+      post :create, picture: { link: 'https://media.giphy.com/media/yVZG1TGSG44xO/giphy.gif', tag_list: 'tag' }\n     end\n     assert_redirected_to root_path\n     assert_equal 'Create Success!', flash[:notice]\n   end\n \n+  test 'cannot create an image with empty tags list' do","path":"test/controllers/pictures_controller_test.rb","position":20,"original_position":20,"commit_id":"0512881872137529c4055c9691412d0c23f33477","original_commit_id":"0512881872137529c4055c9691412d0c23f33477","user":{"login":"rmacklin","id":1863540,"avatar_url":"https://avatars.githubusercontent.com/u/1863540?v=3","gravatar_id":"","url":"https://api.github.com/users/rmacklin","html_url":"https://github.com/rmacklin","followers_url":"https://api.github.com/users/rmacklin/followers","following_url":"https://api.github.com/users/rmacklin/following{/other_user}","gists_url":"https://api.github.com/users/rmacklin/gists{/gist_id}","starred_url":"https://api.github.com/users/rmacklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmacklin/subscriptions","organizations_url":"https://api.github.com/users/rmacklin/orgs","repos_url":"https://api.github.com/users/rmacklin/repos","events_url":"https://api.github.com/users/rmacklin/events{/privacy}","received_events_url":"https://api.github.com/users/rmacklin/received_events","type":"User","site_admin":false},"body":"It's debatable whether this deserves its own controller test given that you've added a model test for the tag_list presence validation.","created_at":"2016-02-03T01:51:18Z","updated_at":"2016-02-03T01:51:18Z","html_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader/pull/26#discussion_r51668389","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/comments/51668389"},"html":{"href":"https://github.com/AppFolioOnboarding/Boying_ImageUploader/pull/26#discussion_r51668389"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26","id":58076924,"html_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader/pull/26","diff_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader/pull/26.diff","patch_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader/pull/26.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/26","number":26,"state":"open","locked":false,"title":"Add validation for tag","user":{"login":"shiboying","id":7544433,"avatar_url":"https://avatars.githubusercontent.com/u/7544433?v=3","gravatar_id":"","url":"https://api.github.com/users/shiboying","html_url":"https://github.com/shiboying","followers_url":"https://api.github.com/users/shiboying/followers","following_url":"https://api.github.com/users/shiboying/following{/other_user}","gists_url":"https://api.github.com/users/shiboying/gists{/gist_id}","starred_url":"https://api.github.com/users/shiboying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiboying/subscriptions","organizations_url":"https://api.github.com/users/shiboying/orgs","repos_url":"https://api.github.com/users/shiboying/repos","events_url":"https://api.github.com/users/shiboying/events{/privacy}","received_events_url":"https://api.github.com/users/shiboying/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-03T01:08:06Z","updated_at":"2016-02-03T01:51:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2826f9e98ba20b589bac4dc41b1f3fdeca2a1cb0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/26/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/statuses/0512881872137529c4055c9691412d0c23f33477","head":{"label":"AppFolioOnboarding:AddTagValidation","ref":"AddTagValidation","sha":"0512881872137529c4055c9691412d0c23f33477","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":49970184,"name":"Boying_ImageUploader","full_name":"AppFolioOnboarding/Boying_ImageUploader","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader","description":"","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader","forks_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/deployments","created_at":"2016-01-19T17:32:12Z","updated_at":"2016-01-19T17:34:28Z","pushed_at":"2016-02-03T01:34:00Z","git_url":"git://github.com/AppFolioOnboarding/Boying_ImageUploader.git","ssh_url":"git@github.com:AppFolioOnboarding/Boying_ImageUploader.git","clone_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader.git","svn_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"f4b447b9d70ae5375a93ffa7853186d6bb0ebf16","user":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":49970184,"name":"Boying_ImageUploader","full_name":"AppFolioOnboarding/Boying_ImageUploader","owner":{"login":"AppFolioOnboarding","id":16782391,"avatar_url":"https://avatars.githubusercontent.com/u/16782391?v=3","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader","description":"","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader","forks_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/deployments","created_at":"2016-01-19T17:32:12Z","updated_at":"2016-01-19T17:34:28Z","pushed_at":"2016-02-03T01:34:00Z","git_url":"git://github.com/AppFolioOnboarding/Boying_ImageUploader.git","ssh_url":"git@github.com:AppFolioOnboarding/Boying_ImageUploader.git","clone_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader.git","svn_url":"https://github.com/AppFolioOnboarding/Boying_ImageUploader","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26"},"html":{"href":"https://github.com/AppFolioOnboarding/Boying_ImageUploader/pull/26"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/26"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/Boying_ImageUploader/statuses/0512881872137529c4055c9691412d0c23f33477"}}}}