{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/comments/72711503","id":72711503,"diff_hunk":"@@ -4,6 +4,7 @@ class ImagesControllerTest < ActionDispatch::IntegrationTest\n   setup do\n     @sample_img_link = 'http://i.imgur.com/PVrX7wZ.jpg'\n     @sample_img_tags = 'testtag1, testtag2'\n+    @sample_img_tags_array = @sample_img_tags.split(',').collect(&:strip)","path":"test/controllers/images_controller_test.rb","position":4,"original_position":4,"commit_id":"5e5998ac8265b8cd4af02251270f6c89e481d096","original_commit_id":"5e5998ac8265b8cd4af02251270f6c89e481d096","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":"If you don't use `@sample_img_tags`, you could just give a setup for the array, instead of doing the split on the string. You could just use this: `@sample_img_tags = ['testtag1', 'testtag2']`","created_at":"2016-07-28T22:02:08Z","updated_at":"2016-07-28T22:02:08Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau/pull/32#discussion_r72711503","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/comments/72711503"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-mqchau/pull/32#discussion_r72711503"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32","id":79122629,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau/pull/32","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau/pull/32.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau/pull/32.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/32","number":32,"state":"open","locked":false,"title":"Qc tag image search","user":{"login":"mqchau","id":6371996,"avatar_url":"https://avatars.githubusercontent.com/u/6371996?v=3","gravatar_id":"","url":"https://api.github.com/users/mqchau","html_url":"https://github.com/mqchau","followers_url":"https://api.github.com/users/mqchau/followers","following_url":"https://api.github.com/users/mqchau/following{/other_user}","gists_url":"https://api.github.com/users/mqchau/gists{/gist_id}","starred_url":"https://api.github.com/users/mqchau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mqchau/subscriptions","organizations_url":"https://api.github.com/users/mqchau/orgs","repos_url":"https://api.github.com/users/mqchau/repos","events_url":"https://api.github.com/users/mqchau/events{/privacy}","received_events_url":"https://api.github.com/users/mqchau/received_events","type":"User","site_admin":false},"body":"Closes #9\r\n","created_at":"2016-07-28T00:59:54Z","updated_at":"2016-07-28T22:02:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73f607cddd54b4caa5e841610d7f13e9f0bef335","assignee":{"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},"assignees":[{"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}],"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/32/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/statuses/5e5998ac8265b8cd4af02251270f6c89e481d096","head":{"label":"AppFolioOnboarding:qc_tagImageSearch","ref":"qc_tagImageSearch","sha":"5e5998ac8265b8cd4af02251270f6c89e481d096","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":63720274,"name":"image-sharer-mqchau","full_name":"AppFolioOnboarding/image-sharer-mqchau","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-mqchau","description":"image-sharer-mqchau created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/deployments","created_at":"2016-07-19T18:58:44Z","updated_at":"2016-07-19T18:58:53Z","pushed_at":"2016-07-28T21:54:52Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-mqchau.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-mqchau.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau","homepage":null,"size":91,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"df08d9637ebc91224b255f915f3aef3d78bf8ed6","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":63720274,"name":"image-sharer-mqchau","full_name":"AppFolioOnboarding/image-sharer-mqchau","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-mqchau","description":"image-sharer-mqchau created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/deployments","created_at":"2016-07-19T18:58:44Z","updated_at":"2016-07-19T18:58:53Z","pushed_at":"2016-07-28T21:54:52Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-mqchau.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-mqchau.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-mqchau","homepage":null,"size":91,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-mqchau/pull/32"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/32"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-mqchau/statuses/5e5998ac8265b8cd4af02251270f6c89e481d096"}}}}
{"actor":{"display_login":"shiboying"}}