{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/comments/59957604","id":59957604,"diff_hunk":"@@ -25,6 +25,31 @@ class ImagesCrudTest < FlowTestCase\n     page.assert_current_path images_path\n   end\n \n+  test 'image filtering by tag' do\n+    valid_url = 'http://images.nationalgeographic.com/wpf/media-live/photos/000/928/cache/vila-velha-sunset_92856_990x742.jpg'\n+\n+    Image.create!(url: valid_url, tag_list: %w(test1 test2))\n+    Image.create!(url: valid_url, tag_list: %w(test1))\n+    Image.create!(url: valid_url, tag_list: %w(test3 test4))\n+\n+    visit root_path\n+    assert_selector('.card', count: 3)\n+\n+    first(:link, 'test1').click\n+    assert_selector('.card', count: 2)\n+  end\n+\n+  test 'image filtering by invalid tag' do","path":"test/flow_tests/images_flow_test.rb","position":null,"original_position":18,"commit_id":"fd5fdacfc5cab9c1f0a03e01e1eed0fa91b079ca","original_commit_id":"60125397359eaf23dba8a28c274dbd093ed10569","user":{"login":"blakeherrington","id":18268801,"avatar_url":"https://avatars.githubusercontent.com/u/18268801?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeherrington","html_url":"https://github.com/blakeherrington","followers_url":"https://api.github.com/users/blakeherrington/followers","following_url":"https://api.github.com/users/blakeherrington/following{/other_user}","gists_url":"https://api.github.com/users/blakeherrington/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeherrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeherrington/subscriptions","organizations_url":"https://api.github.com/users/blakeherrington/orgs","repos_url":"https://api.github.com/users/blakeherrington/repos","events_url":"https://api.github.com/users/blakeherrington/events{/privacy}","received_events_url":"https://api.github.com/users/blakeherrington/received_events","type":"User","site_admin":false},"body":"Makes sense. I have removed the unnecessary flow test in fd5fdac","created_at":"2016-04-16T00:24:19Z","updated_at":"2016-04-16T00:24:19Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington/pull/27#discussion_r59957604","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/comments/59957604"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington/pull/27#discussion_r59957604"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27","id":66413897,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington/pull/27","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington/pull/27.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington/pull/27.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/27","number":27,"state":"open","locked":false,"title":"Images by tag","user":{"login":"blakeherrington","id":18268801,"avatar_url":"https://avatars.githubusercontent.com/u/18268801?v=3","gravatar_id":"","url":"https://api.github.com/users/blakeherrington","html_url":"https://github.com/blakeherrington","followers_url":"https://api.github.com/users/blakeherrington/followers","following_url":"https://api.github.com/users/blakeherrington/following{/other_user}","gists_url":"https://api.github.com/users/blakeherrington/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeherrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeherrington/subscriptions","organizations_url":"https://api.github.com/users/blakeherrington/orgs","repos_url":"https://api.github.com/users/blakeherrington/repos","events_url":"https://api.github.com/users/blakeherrington/events{/privacy}","received_events_url":"https://api.github.com/users/blakeherrington/received_events","type":"User","site_admin":false},"body":"Closes #9\r\n","created_at":"2016-04-14T00:41:08Z","updated_at":"2016-04-16T00:24:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7e380c1abd4b33e36b1623be6514167c36eee9d","assignee":{"login":"bboe","id":48100,"avatar_url":"https://avatars.githubusercontent.com/u/48100?v=3","gravatar_id":"","url":"https://api.github.com/users/bboe","html_url":"https://github.com/bboe","followers_url":"https://api.github.com/users/bboe/followers","following_url":"https://api.github.com/users/bboe/following{/other_user}","gists_url":"https://api.github.com/users/bboe/gists{/gist_id}","starred_url":"https://api.github.com/users/bboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboe/subscriptions","organizations_url":"https://api.github.com/users/bboe/orgs","repos_url":"https://api.github.com/users/bboe/repos","events_url":"https://api.github.com/users/bboe/events{/privacy}","received_events_url":"https://api.github.com/users/bboe/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/27/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/statuses/fd5fdacfc5cab9c1f0a03e01e1eed0fa91b079ca","head":{"label":"AppFolioOnboarding:ImagesByTag","ref":"ImagesByTag","sha":"fd5fdacfc5cab9c1f0a03e01e1eed0fa91b079ca","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":55442594,"name":"image-sharer-blakeherrington","full_name":"AppFolioOnboarding/image-sharer-blakeherrington","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-blakeherrington","description":"image-sharer-blakeherrington created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/deployments","created_at":"2016-04-04T20:30:02Z","updated_at":"2016-04-04T20:30:11Z","pushed_at":"2016-04-16T00:24:06Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-blakeherrington.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-blakeherrington.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington","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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"01ab97530198c926e9835eba2b58bebb20becdd9","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":55442594,"name":"image-sharer-blakeherrington","full_name":"AppFolioOnboarding/image-sharer-blakeherrington","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-blakeherrington","description":"image-sharer-blakeherrington created by Classroom for GitHub","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/deployments","created_at":"2016-04-04T20:30:02Z","updated_at":"2016-04-04T20:30:11Z","pushed_at":"2016-04-16T00:24:06Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-blakeherrington.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-blakeherrington.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington","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":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-blakeherrington/pull/27"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/27"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-blakeherrington/statuses/fd5fdacfc5cab9c1f0a03e01e1eed0fa91b079ca"}}}}