{"action":"created","comment":{"url":"https://api.github.com/repos/Salisbum/git-er-done/pulls/comments/58750112","id":58750112,"diff_hunk":"@@ -0,0 +1,52 @@\n+require 'rails_helper'\n+\n+feature \"User edits an existing landmark\" do\n+  scenario \"User successfully edits a landmark\" do\n+    grand_canyon = Landmark.create(\n+      name: \"Grand Canyon\",\n+      location: \"Arizona\",\n+      image: \"https://lh6.googleusercontent.com/-0IU2MaN1t0c/AAAAAAAAAAI/AAAAAAAAABs/ROeqMxHHRfY/s0-c-k-no-ns/photo.jpg\",\n+      description: \"A colossal neoclassical sculpture on Liberty Island\"\n+    )\n+\n+    visit landmarks_path\n+\n+    click_button \"Edit\"\n+\n+    expect(page).to have_content \"Edit #{grand_canyon.name}\"\n+\n+    fill_in 'Name', with: \"Statue of Liberty\"\n+    fill_in 'Location', with: \"New York\"\n+    fill_in 'Image', with: \"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Statue_of_Liberty_7.jpg/500px-Statue_of_Liberty_7.jpg\"\n+    fill_in 'Description', with: \"A colossal neoclassical sculpture on Liberty Island\"\n+\n+    click_button \"Submit Landmark\"\n+\n+    expect(page).to have_content \"Landmark updated successfully!\"\n+    expect(page).to have_content \"Statue of Liberty\"\n+    expect(page).to have_content \"New York\"\n+    page.should have_selector (\"img[src$='https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Statue_of_Liberty_7.jpg/500px-Statue_of_Liberty_7.jpg']\")","path":"spec/features/user_edits_an_existing_landmark_spec.rb","position":28,"original_position":28,"commit_id":"2a5efe77e7ad7b9aec334d3d60ca7b4252f4ff9c","original_commit_id":"2a5efe77e7ad7b9aec334d3d60ca7b4252f4ff9c","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":"Don't use parentheses around a literal.","created_at":"2016-04-06T17:47:32Z","updated_at":"2016-04-06T17:47:32Z","html_url":"https://github.com/Salisbum/git-er-done/pull/10#discussion_r58750112","pull_request_url":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/Salisbum/git-er-done/pulls/comments/58750112"},"html":{"href":"https://github.com/Salisbum/git-er-done/pull/10#discussion_r58750112"},"pull_request":{"href":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10","id":65493054,"html_url":"https://github.com/Salisbum/git-er-done/pull/10","diff_url":"https://github.com/Salisbum/git-er-done/pull/10.diff","patch_url":"https://github.com/Salisbum/git-er-done/pull/10.patch","issue_url":"https://api.github.com/repos/Salisbum/git-er-done/issues/10","number":10,"state":"open","locked":false,"title":"Landmark features","user":{"login":"Xander4321","id":17504415,"avatar_url":"https://avatars.githubusercontent.com/u/17504415?v=3","gravatar_id":"","url":"https://api.github.com/users/Xander4321","html_url":"https://github.com/Xander4321","followers_url":"https://api.github.com/users/Xander4321/followers","following_url":"https://api.github.com/users/Xander4321/following{/other_user}","gists_url":"https://api.github.com/users/Xander4321/gists{/gist_id}","starred_url":"https://api.github.com/users/Xander4321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xander4321/subscriptions","organizations_url":"https://api.github.com/users/Xander4321/orgs","repos_url":"https://api.github.com/users/Xander4321/repos","events_url":"https://api.github.com/users/Xander4321/events{/privacy}","received_events_url":"https://api.github.com/users/Xander4321/received_events","type":"User","site_admin":false},"body":"### Adds \r\nshow\r\ncreate\r\nedit\r\ndestroy\r\nto landmarks","created_at":"2016-04-06T16:07:15Z","updated_at":"2016-04-06T17:47:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Salisbum/git-er-done/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Salisbum/git-er-done/issues/10/comments","statuses_url":"https://api.github.com/repos/Salisbum/git-er-done/statuses/2a5efe77e7ad7b9aec334d3d60ca7b4252f4ff9c","head":{"label":"Salisbum:landmark_detail","ref":"landmark_detail","sha":"2a5efe77e7ad7b9aec334d3d60ca7b4252f4ff9c","user":{"login":"Salisbum","id":11167585,"avatar_url":"https://avatars.githubusercontent.com/u/11167585?v=3","gravatar_id":"","url":"https://api.github.com/users/Salisbum","html_url":"https://github.com/Salisbum","followers_url":"https://api.github.com/users/Salisbum/followers","following_url":"https://api.github.com/users/Salisbum/following{/other_user}","gists_url":"https://api.github.com/users/Salisbum/gists{/gist_id}","starred_url":"https://api.github.com/users/Salisbum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salisbum/subscriptions","organizations_url":"https://api.github.com/users/Salisbum/orgs","repos_url":"https://api.github.com/users/Salisbum/repos","events_url":"https://api.github.com/users/Salisbum/events{/privacy}","received_events_url":"https://api.github.com/users/Salisbum/received_events","type":"User","site_admin":false},"repo":{"id":55418566,"name":"git-er-done","full_name":"Salisbum/git-er-done","owner":{"login":"Salisbum","id":11167585,"avatar_url":"https://avatars.githubusercontent.com/u/11167585?v=3","gravatar_id":"","url":"https://api.github.com/users/Salisbum","html_url":"https://github.com/Salisbum","followers_url":"https://api.github.com/users/Salisbum/followers","following_url":"https://api.github.com/users/Salisbum/following{/other_user}","gists_url":"https://api.github.com/users/Salisbum/gists{/gist_id}","starred_url":"https://api.github.com/users/Salisbum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salisbum/subscriptions","organizations_url":"https://api.github.com/users/Salisbum/orgs","repos_url":"https://api.github.com/users/Salisbum/repos","events_url":"https://api.github.com/users/Salisbum/events{/privacy}","received_events_url":"https://api.github.com/users/Salisbum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Salisbum/git-er-done","description":"LA group project - landmark review site","fork":false,"url":"https://api.github.com/repos/Salisbum/git-er-done","forks_url":"https://api.github.com/repos/Salisbum/git-er-done/forks","keys_url":"https://api.github.com/repos/Salisbum/git-er-done/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Salisbum/git-er-done/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Salisbum/git-er-done/teams","hooks_url":"https://api.github.com/repos/Salisbum/git-er-done/hooks","issue_events_url":"https://api.github.com/repos/Salisbum/git-er-done/issues/events{/number}","events_url":"https://api.github.com/repos/Salisbum/git-er-done/events","assignees_url":"https://api.github.com/repos/Salisbum/git-er-done/assignees{/user}","branches_url":"https://api.github.com/repos/Salisbum/git-er-done/branches{/branch}","tags_url":"https://api.github.com/repos/Salisbum/git-er-done/tags","blobs_url":"https://api.github.com/repos/Salisbum/git-er-done/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Salisbum/git-er-done/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Salisbum/git-er-done/git/refs{/sha}","trees_url":"https://api.github.com/repos/Salisbum/git-er-done/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Salisbum/git-er-done/statuses/{sha}","languages_url":"https://api.github.com/repos/Salisbum/git-er-done/languages","stargazers_url":"https://api.github.com/repos/Salisbum/git-er-done/stargazers","contributors_url":"https://api.github.com/repos/Salisbum/git-er-done/contributors","subscribers_url":"https://api.github.com/repos/Salisbum/git-er-done/subscribers","subscription_url":"https://api.github.com/repos/Salisbum/git-er-done/subscription","commits_url":"https://api.github.com/repos/Salisbum/git-er-done/commits{/sha}","git_commits_url":"https://api.github.com/repos/Salisbum/git-er-done/git/commits{/sha}","comments_url":"https://api.github.com/repos/Salisbum/git-er-done/comments{/number}","issue_comment_url":"https://api.github.com/repos/Salisbum/git-er-done/issues/comments{/number}","contents_url":"https://api.github.com/repos/Salisbum/git-er-done/contents/{+path}","compare_url":"https://api.github.com/repos/Salisbum/git-er-done/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Salisbum/git-er-done/merges","archive_url":"https://api.github.com/repos/Salisbum/git-er-done/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Salisbum/git-er-done/downloads","issues_url":"https://api.github.com/repos/Salisbum/git-er-done/issues{/number}","pulls_url":"https://api.github.com/repos/Salisbum/git-er-done/pulls{/number}","milestones_url":"https://api.github.com/repos/Salisbum/git-er-done/milestones{/number}","notifications_url":"https://api.github.com/repos/Salisbum/git-er-done/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Salisbum/git-er-done/labels{/name}","releases_url":"https://api.github.com/repos/Salisbum/git-er-done/releases{/id}","deployments_url":"https://api.github.com/repos/Salisbum/git-er-done/deployments","created_at":"2016-04-04T14:36:12Z","updated_at":"2016-04-04T14:44:48Z","pushed_at":"2016-04-06T17:47:21Z","git_url":"git://github.com/Salisbum/git-er-done.git","ssh_url":"git@github.com:Salisbum/git-er-done.git","clone_url":"https://github.com/Salisbum/git-er-done.git","svn_url":"https://github.com/Salisbum/git-er-done","homepage":null,"size":81,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Salisbum:master","ref":"master","sha":"608185854d41b7272e4ed3a8caa97d6764a3bfbc","user":{"login":"Salisbum","id":11167585,"avatar_url":"https://avatars.githubusercontent.com/u/11167585?v=3","gravatar_id":"","url":"https://api.github.com/users/Salisbum","html_url":"https://github.com/Salisbum","followers_url":"https://api.github.com/users/Salisbum/followers","following_url":"https://api.github.com/users/Salisbum/following{/other_user}","gists_url":"https://api.github.com/users/Salisbum/gists{/gist_id}","starred_url":"https://api.github.com/users/Salisbum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salisbum/subscriptions","organizations_url":"https://api.github.com/users/Salisbum/orgs","repos_url":"https://api.github.com/users/Salisbum/repos","events_url":"https://api.github.com/users/Salisbum/events{/privacy}","received_events_url":"https://api.github.com/users/Salisbum/received_events","type":"User","site_admin":false},"repo":{"id":55418566,"name":"git-er-done","full_name":"Salisbum/git-er-done","owner":{"login":"Salisbum","id":11167585,"avatar_url":"https://avatars.githubusercontent.com/u/11167585?v=3","gravatar_id":"","url":"https://api.github.com/users/Salisbum","html_url":"https://github.com/Salisbum","followers_url":"https://api.github.com/users/Salisbum/followers","following_url":"https://api.github.com/users/Salisbum/following{/other_user}","gists_url":"https://api.github.com/users/Salisbum/gists{/gist_id}","starred_url":"https://api.github.com/users/Salisbum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salisbum/subscriptions","organizations_url":"https://api.github.com/users/Salisbum/orgs","repos_url":"https://api.github.com/users/Salisbum/repos","events_url":"https://api.github.com/users/Salisbum/events{/privacy}","received_events_url":"https://api.github.com/users/Salisbum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Salisbum/git-er-done","description":"LA group project - landmark review site","fork":false,"url":"https://api.github.com/repos/Salisbum/git-er-done","forks_url":"https://api.github.com/repos/Salisbum/git-er-done/forks","keys_url":"https://api.github.com/repos/Salisbum/git-er-done/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Salisbum/git-er-done/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Salisbum/git-er-done/teams","hooks_url":"https://api.github.com/repos/Salisbum/git-er-done/hooks","issue_events_url":"https://api.github.com/repos/Salisbum/git-er-done/issues/events{/number}","events_url":"https://api.github.com/repos/Salisbum/git-er-done/events","assignees_url":"https://api.github.com/repos/Salisbum/git-er-done/assignees{/user}","branches_url":"https://api.github.com/repos/Salisbum/git-er-done/branches{/branch}","tags_url":"https://api.github.com/repos/Salisbum/git-er-done/tags","blobs_url":"https://api.github.com/repos/Salisbum/git-er-done/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Salisbum/git-er-done/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Salisbum/git-er-done/git/refs{/sha}","trees_url":"https://api.github.com/repos/Salisbum/git-er-done/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Salisbum/git-er-done/statuses/{sha}","languages_url":"https://api.github.com/repos/Salisbum/git-er-done/languages","stargazers_url":"https://api.github.com/repos/Salisbum/git-er-done/stargazers","contributors_url":"https://api.github.com/repos/Salisbum/git-er-done/contributors","subscribers_url":"https://api.github.com/repos/Salisbum/git-er-done/subscribers","subscription_url":"https://api.github.com/repos/Salisbum/git-er-done/subscription","commits_url":"https://api.github.com/repos/Salisbum/git-er-done/commits{/sha}","git_commits_url":"https://api.github.com/repos/Salisbum/git-er-done/git/commits{/sha}","comments_url":"https://api.github.com/repos/Salisbum/git-er-done/comments{/number}","issue_comment_url":"https://api.github.com/repos/Salisbum/git-er-done/issues/comments{/number}","contents_url":"https://api.github.com/repos/Salisbum/git-er-done/contents/{+path}","compare_url":"https://api.github.com/repos/Salisbum/git-er-done/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Salisbum/git-er-done/merges","archive_url":"https://api.github.com/repos/Salisbum/git-er-done/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Salisbum/git-er-done/downloads","issues_url":"https://api.github.com/repos/Salisbum/git-er-done/issues{/number}","pulls_url":"https://api.github.com/repos/Salisbum/git-er-done/pulls{/number}","milestones_url":"https://api.github.com/repos/Salisbum/git-er-done/milestones{/number}","notifications_url":"https://api.github.com/repos/Salisbum/git-er-done/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Salisbum/git-er-done/labels{/name}","releases_url":"https://api.github.com/repos/Salisbum/git-er-done/releases{/id}","deployments_url":"https://api.github.com/repos/Salisbum/git-er-done/deployments","created_at":"2016-04-04T14:36:12Z","updated_at":"2016-04-04T14:44:48Z","pushed_at":"2016-04-06T17:47:21Z","git_url":"git://github.com/Salisbum/git-er-done.git","ssh_url":"git@github.com:Salisbum/git-er-done.git","clone_url":"https://github.com/Salisbum/git-er-done.git","svn_url":"https://github.com/Salisbum/git-er-done","homepage":null,"size":81,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10"},"html":{"href":"https://github.com/Salisbum/git-er-done/pull/10"},"issue":{"href":"https://api.github.com/repos/Salisbum/git-er-done/issues/10"},"comments":{"href":"https://api.github.com/repos/Salisbum/git-er-done/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Salisbum/git-er-done/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Salisbum/git-er-done/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Salisbum/git-er-done/statuses/2a5efe77e7ad7b9aec334d3d60ca7b4252f4ff9c"}}}}