{"action":"created","comment":{"url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/comments/73239292","id":73239292,"diff_hunk":"@@ -35,4 +35,40 @@\n     expect(page).to have_content('9,000')\n     expect(animal.category.name).to eq(\"Big Cats\")\n   end\n+\n+  scenario \"they leave image path blank and still see an image\" do\n+    user = User.create(role: 1, username: \"admin\", password: \"password\")\n+    Category.create(name: \"Big Cats\")\n+    Category.create(name: \"Reptiles\")\n+\n+    visit login_path\n+\n+    fill_in \"Username\", with: \"admin\"\n+    fill_in \"Password\", with: \"password\"\n+\n+    click_button(\"Login\")\n+\n+    expect(current_path).to eq(admin_dashboard_path)\n+    click_on(\"Create an Animal\")\n+\n+    expect(current_path).to eq(new_animal_path)\n+    fill_in \"Name\", with: \"Cougar\"\n+    fill_in \"Description\", with: \"Active in the day\"\n+    fill_in \"Price\", with: 9000\n+    select \"Big Cats\"\n+    click_on \"Create\"\n+    animal = Animal.last\n+    expect(current_path).to eq(new_animal_path)\n+    expect(page).to have_content(\"Successfully created #{animal.name}\")\n+\n+    visit animal_path(animal)\n+\n+    expect(current_path).to eq(animal_path(animal))\n+    expect(page).to have_content(\"Cougar\")","path":"spec/features/admin_can_create_an_animals_spec.rb","position":33,"original_position":33,"commit_id":"43201f2484a0e0af04281e34bcd2f37b37a55282","original_commit_id":"43201f2484a0e0af04281e34bcd2f37b37a55282","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-08-02T21:16:06Z","updated_at":"2016-08-02T21:16:06Z","html_url":"https://github.com/matthewrpacker/exotic_pet_shop/pull/110#discussion_r73239292","pull_request_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110","_links":{"self":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/comments/73239292"},"html":{"href":"https://github.com/matthewrpacker/exotic_pet_shop/pull/110#discussion_r73239292"},"pull_request":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110","id":79810386,"html_url":"https://github.com/matthewrpacker/exotic_pet_shop/pull/110","diff_url":"https://github.com/matthewrpacker/exotic_pet_shop/pull/110.diff","patch_url":"https://github.com/matthewrpacker/exotic_pet_shop/pull/110.patch","issue_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/110","number":110,"state":"open","locked":false,"title":"Add default image path for animal","user":{"login":"dtinianow","id":17038607,"avatar_url":"https://avatars.githubusercontent.com/u/17038607?v=3","gravatar_id":"","url":"https://api.github.com/users/dtinianow","html_url":"https://github.com/dtinianow","followers_url":"https://api.github.com/users/dtinianow/followers","following_url":"https://api.github.com/users/dtinianow/following{/other_user}","gists_url":"https://api.github.com/users/dtinianow/gists{/gist_id}","starred_url":"https://api.github.com/users/dtinianow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtinianow/subscriptions","organizations_url":"https://api.github.com/users/dtinianow/orgs","repos_url":"https://api.github.com/users/dtinianow/repos","events_url":"https://api.github.com/users/dtinianow/events{/privacy}","received_events_url":"https://api.github.com/users/dtinianow/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-02T21:16:02Z","updated_at":"2016-08-02T21:16:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97f7ed4bae59b15ae55fb90a11cc78a51752214a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110/commits","review_comments_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110/comments","review_comment_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/110/comments","statuses_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/statuses/43201f2484a0e0af04281e34bcd2f37b37a55282","head":{"label":"matthewrpacker:set_default_animal_image","ref":"set_default_animal_image","sha":"43201f2484a0e0af04281e34bcd2f37b37a55282","user":{"login":"matthewrpacker","id":14930925,"avatar_url":"https://avatars.githubusercontent.com/u/14930925?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewrpacker","html_url":"https://github.com/matthewrpacker","followers_url":"https://api.github.com/users/matthewrpacker/followers","following_url":"https://api.github.com/users/matthewrpacker/following{/other_user}","gists_url":"https://api.github.com/users/matthewrpacker/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrpacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrpacker/subscriptions","organizations_url":"https://api.github.com/users/matthewrpacker/orgs","repos_url":"https://api.github.com/users/matthewrpacker/repos","events_url":"https://api.github.com/users/matthewrpacker/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrpacker/received_events","type":"User","site_admin":false},"repo":{"id":64172124,"name":"exotic_pet_shop","full_name":"matthewrpacker/exotic_pet_shop","owner":{"login":"matthewrpacker","id":14930925,"avatar_url":"https://avatars.githubusercontent.com/u/14930925?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewrpacker","html_url":"https://github.com/matthewrpacker","followers_url":"https://api.github.com/users/matthewrpacker/followers","following_url":"https://api.github.com/users/matthewrpacker/following{/other_user}","gists_url":"https://api.github.com/users/matthewrpacker/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrpacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrpacker/subscriptions","organizations_url":"https://api.github.com/users/matthewrpacker/orgs","repos_url":"https://api.github.com/users/matthewrpacker/repos","events_url":"https://api.github.com/users/matthewrpacker/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrpacker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matthewrpacker/exotic_pet_shop","description":null,"fork":false,"url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop","forks_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/forks","keys_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/teams","hooks_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/hooks","issue_events_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/events{/number}","events_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/events","assignees_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/assignees{/user}","branches_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/branches{/branch}","tags_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/tags","blobs_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/languages","stargazers_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/stargazers","contributors_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/contributors","subscribers_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/subscribers","subscription_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/subscription","commits_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/contents/{+path}","compare_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/merges","archive_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/downloads","issues_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues{/number}","pulls_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/labels{/name}","releases_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/releases{/id}","deployments_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/deployments","created_at":"2016-07-25T22:30:08Z","updated_at":"2016-07-28T21:05:12Z","pushed_at":"2016-08-02T21:16:02Z","git_url":"git://github.com/matthewrpacker/exotic_pet_shop.git","ssh_url":"git@github.com:matthewrpacker/exotic_pet_shop.git","clone_url":"https://github.com/matthewrpacker/exotic_pet_shop.git","svn_url":"https://github.com/matthewrpacker/exotic_pet_shop","homepage":null,"size":330,"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":20,"forks":0,"open_issues":20,"watchers":0,"default_branch":"master"}},"base":{"label":"matthewrpacker:development","ref":"development","sha":"52a9c35f24c428adc14a67d133ee0f693ff19068","user":{"login":"matthewrpacker","id":14930925,"avatar_url":"https://avatars.githubusercontent.com/u/14930925?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewrpacker","html_url":"https://github.com/matthewrpacker","followers_url":"https://api.github.com/users/matthewrpacker/followers","following_url":"https://api.github.com/users/matthewrpacker/following{/other_user}","gists_url":"https://api.github.com/users/matthewrpacker/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrpacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrpacker/subscriptions","organizations_url":"https://api.github.com/users/matthewrpacker/orgs","repos_url":"https://api.github.com/users/matthewrpacker/repos","events_url":"https://api.github.com/users/matthewrpacker/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrpacker/received_events","type":"User","site_admin":false},"repo":{"id":64172124,"name":"exotic_pet_shop","full_name":"matthewrpacker/exotic_pet_shop","owner":{"login":"matthewrpacker","id":14930925,"avatar_url":"https://avatars.githubusercontent.com/u/14930925?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewrpacker","html_url":"https://github.com/matthewrpacker","followers_url":"https://api.github.com/users/matthewrpacker/followers","following_url":"https://api.github.com/users/matthewrpacker/following{/other_user}","gists_url":"https://api.github.com/users/matthewrpacker/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewrpacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewrpacker/subscriptions","organizations_url":"https://api.github.com/users/matthewrpacker/orgs","repos_url":"https://api.github.com/users/matthewrpacker/repos","events_url":"https://api.github.com/users/matthewrpacker/events{/privacy}","received_events_url":"https://api.github.com/users/matthewrpacker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matthewrpacker/exotic_pet_shop","description":null,"fork":false,"url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop","forks_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/forks","keys_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/teams","hooks_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/hooks","issue_events_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/events{/number}","events_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/events","assignees_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/assignees{/user}","branches_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/branches{/branch}","tags_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/tags","blobs_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/languages","stargazers_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/stargazers","contributors_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/contributors","subscribers_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/subscribers","subscription_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/subscription","commits_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/contents/{+path}","compare_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/merges","archive_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/downloads","issues_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues{/number}","pulls_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/labels{/name}","releases_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/releases{/id}","deployments_url":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/deployments","created_at":"2016-07-25T22:30:08Z","updated_at":"2016-07-28T21:05:12Z","pushed_at":"2016-08-02T21:16:02Z","git_url":"git://github.com/matthewrpacker/exotic_pet_shop.git","ssh_url":"git@github.com:matthewrpacker/exotic_pet_shop.git","clone_url":"https://github.com/matthewrpacker/exotic_pet_shop.git","svn_url":"https://github.com/matthewrpacker/exotic_pet_shop","homepage":null,"size":330,"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":20,"forks":0,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110"},"html":{"href":"https://github.com/matthewrpacker/exotic_pet_shop/pull/110"},"issue":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/110"},"comments":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/matthewrpacker/exotic_pet_shop/statuses/43201f2484a0e0af04281e34bcd2f37b37a55282"}}}}
{"actor":{"display_login":"houndci-bot"}}