{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/60790785","id":60790785,"diff_hunk":"@@ -41,25 +72,29 @@ class ImagesControllerTest < ActionController::TestCase\n     end\n     assert_response :unprocessable_entity\n     assert_select '#new_image_form', 1\n-    assert_select '.help-block', {text: 'not a valid URL', count: 1}\n+    assert_select '.help-block', { text: 'not a valid URL', count: 1 }\n   end\n \n   test 'show' do\n     image_url = 'http://www.horniman.info/DKNSARC/SD04/IMAGES/D4P1570C.JPG'\n-    image = Image.create!(title: 'test3Img', url: image_url, tag_list: 'tag1, tag2')\n+    image     = Image.create!(title: 'test3Img', url: image_url, tag_list: 'tag1, tag2')\n \n     get :show, id: image\n     assert_response :success\n     assert_select \"img[src=\\\"#{image_url}\\\"]\", 1\n     assert_select '#image_title', text: 'test3Img'\n-    assert_select '#image_tags', text: 'tag1, tag2'\n+    assert_select '#image_tags .btn', count: image.tag_list.size do |elements|","path":"test/controllers/images_controller_test.rb","position":88,"original_position":88,"commit_id":"c75a14e46749dd39250fbd1a391f9b58b06c9571","original_commit_id":"c75a14e46749dd39250fbd1a391f9b58b06c9571","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":"Again, I don't think `count` is necessary here.","created_at":"2016-04-22T19:25:01Z","updated_at":"2016-04-22T19:25:01Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/28#discussion_r60790785","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments/60790785"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/28#discussion_r60790785"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28","id":66892551,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/28","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/28.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/28.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/28","number":28,"state":"open","locked":false,"title":"Images by tags","user":{"login":"wilsonyqm","id":9424989,"avatar_url":"https://avatars.githubusercontent.com/u/9424989?v=3","gravatar_id":"","url":"https://api.github.com/users/wilsonyqm","html_url":"https://github.com/wilsonyqm","followers_url":"https://api.github.com/users/wilsonyqm/followers","following_url":"https://api.github.com/users/wilsonyqm/following{/other_user}","gists_url":"https://api.github.com/users/wilsonyqm/gists{/gist_id}","starred_url":"https://api.github.com/users/wilsonyqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilsonyqm/subscriptions","organizations_url":"https://api.github.com/users/wilsonyqm/orgs","repos_url":"https://api.github.com/users/wilsonyqm/repos","events_url":"https://api.github.com/users/wilsonyqm/events{/privacy}","received_events_url":"https://api.github.com/users/wilsonyqm/received_events","type":"User","site_admin":false},"body":"Closes #9 \r\n\r\n","created_at":"2016-04-18T17:40:08Z","updated_at":"2016-04-22T19:25:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da52fcf15ea37a4f7f4e431278a4e6bf5fb380b9","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/28/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/c75a14e46749dd39250fbd1a391f9b58b06c9571","head":{"label":"AppFolioOnboarding:ImagesByTags","ref":"ImagesByTags","sha":"c75a14e46749dd39250fbd1a391f9b58b06c9571","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":55442589,"name":"image-sharer-wilsonyqm","full_name":"AppFolioOnboarding/image-sharer-wilsonyqm","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/image-sharer-wilsonyqm","description":"image-sharer-wilsonyqm created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/deployments","created_at":"2016-04-04T20:29:58Z","updated_at":"2016-04-04T20:30:08Z","pushed_at":"2016-04-22T18:51:45Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-wilsonyqm.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","homepage":null,"size":94,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"5d33e75fe1a1db4757a25a4f0091d43ffe526ca7","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":55442589,"name":"image-sharer-wilsonyqm","full_name":"AppFolioOnboarding/image-sharer-wilsonyqm","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/image-sharer-wilsonyqm","description":"image-sharer-wilsonyqm created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/deployments","created_at":"2016-04-04T20:29:58Z","updated_at":"2016-04-04T20:30:08Z","pushed_at":"2016-04-22T18:51:45Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-wilsonyqm.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm","homepage":null,"size":94,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-wilsonyqm/pull/28"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/28"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-wilsonyqm/statuses/c75a14e46749dd39250fbd1a391f9b58b06c9571"}}}}