{"action":"created","comment":{"url":"https://api.github.com/repos/bf86/dive-site/pulls/comments/33715114","id":33715114,"diff_hunk":"@@ -0,0 +1,55 @@\n+require 'rails_helper'\n+\n+feature 'User views the details of a dive site', %Q{\n+   As a dive-site user\n+   I want to see the details of a particular dive site\n+} do\n+  # Acceptance Criteria:\n+  # * When I go to /dive_sites/\n+  # * I will see a list of dive sites\n+\n+  scenario 'view details of a particular site' do\n+\n+    dive_site = FactoryGirl.create(:dive_site)\n+\n+    visit '/dive_sites'\n+\n+    expect(page).to have_content(dive_site.name)\n+    expect(page).to have_content(dive_site.location)\n+    expect(page).to have_content(dive_site.lat)\n+    expect(page).to have_content(dive_site.lon)        \n+    expect(page).to have_content(dive_site.rating)\n+    expect(page).to have_content(dive_site.difficulty)\n+\n+    click_link dive_site.name\n+\n+    expect(page).to have_content(dive_site.name)\n+    expect(page).to have_content(dive_site.location)\n+    expect(page).to have_content(dive_site.lat)\n+    expect(page).to have_content(dive_site.lon)        \n+    expect(page).to have_content(dive_site.rating)\n+    expect(page).to have_content(dive_site.difficulty)\n+    ","path":"spec/features/user_views_details_of_a_dive_site_spec.rb","position":32,"original_position":32,"commit_id":"19b84d5905e2e88e4ba539707da987392b4e76cb","original_commit_id":"19b84d5905e2e88e4ba539707da987392b4e76cb","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Trailing whitespace detected.","created_at":"2015-07-01T19:27:13Z","updated_at":"2015-07-01T19:27:13Z","html_url":"https://github.com/bf86/dive-site/pull/8#discussion_r33715114","pull_request_url":"https://api.github.com/repos/bf86/dive-site/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/bf86/dive-site/pulls/comments/33715114"},"html":{"href":"https://github.com/bf86/dive-site/pull/8#discussion_r33715114"},"pull_request":{"href":"https://api.github.com/repos/bf86/dive-site/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/bf86/dive-site/pulls/8","id":39016426,"html_url":"https://github.com/bf86/dive-site/pull/8","diff_url":"https://github.com/bf86/dive-site/pull/8.diff","patch_url":"https://github.com/bf86/dive-site/pull/8.patch","issue_url":"https://api.github.com/repos/bf86/dive-site/issues/8","number":8,"state":"open","locked":false,"title":"Fix merge","user":{"login":"radavis","id":1299034,"avatar_url":"https://avatars.githubusercontent.com/u/1299034?v=3","gravatar_id":"","url":"https://api.github.com/users/radavis","html_url":"https://github.com/radavis","followers_url":"https://api.github.com/users/radavis/followers","following_url":"https://api.github.com/users/radavis/following{/other_user}","gists_url":"https://api.github.com/users/radavis/gists{/gist_id}","starred_url":"https://api.github.com/users/radavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radavis/subscriptions","organizations_url":"https://api.github.com/users/radavis/orgs","repos_url":"https://api.github.com/users/radavis/repos","events_url":"https://api.github.com/users/radavis/events{/privacy}","received_events_url":"https://api.github.com/users/radavis/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-01T19:27:06Z","updated_at":"2015-07-01T19:27:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a202399083c6425e049d2a96b6c384cd80c7367f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bf86/dive-site/pulls/8/commits","review_comments_url":"https://api.github.com/repos/bf86/dive-site/pulls/8/comments","review_comment_url":"https://api.github.com/repos/bf86/dive-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bf86/dive-site/issues/8/comments","statuses_url":"https://api.github.com/repos/bf86/dive-site/statuses/19b84d5905e2e88e4ba539707da987392b4e76cb","head":{"label":"bf86:fix-merge","ref":"fix-merge","sha":"19b84d5905e2e88e4ba539707da987392b4e76cb","user":{"login":"bf86","id":10407163,"avatar_url":"https://avatars.githubusercontent.com/u/10407163?v=3","gravatar_id":"","url":"https://api.github.com/users/bf86","html_url":"https://github.com/bf86","followers_url":"https://api.github.com/users/bf86/followers","following_url":"https://api.github.com/users/bf86/following{/other_user}","gists_url":"https://api.github.com/users/bf86/gists{/gist_id}","starred_url":"https://api.github.com/users/bf86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf86/subscriptions","organizations_url":"https://api.github.com/users/bf86/orgs","repos_url":"https://api.github.com/users/bf86/repos","events_url":"https://api.github.com/users/bf86/events{/privacy}","received_events_url":"https://api.github.com/users/bf86/received_events","type":"User","site_admin":false},"repo":{"id":38256074,"name":"dive-site","full_name":"bf86/dive-site","owner":{"login":"bf86","id":10407163,"avatar_url":"https://avatars.githubusercontent.com/u/10407163?v=3","gravatar_id":"","url":"https://api.github.com/users/bf86","html_url":"https://github.com/bf86","followers_url":"https://api.github.com/users/bf86/followers","following_url":"https://api.github.com/users/bf86/following{/other_user}","gists_url":"https://api.github.com/users/bf86/gists{/gist_id}","starred_url":"https://api.github.com/users/bf86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf86/subscriptions","organizations_url":"https://api.github.com/users/bf86/orgs","repos_url":"https://api.github.com/users/bf86/repos","events_url":"https://api.github.com/users/bf86/events{/privacy}","received_events_url":"https://api.github.com/users/bf86/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bf86/dive-site","description":null,"fork":false,"url":"https://api.github.com/repos/bf86/dive-site","forks_url":"https://api.github.com/repos/bf86/dive-site/forks","keys_url":"https://api.github.com/repos/bf86/dive-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bf86/dive-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bf86/dive-site/teams","hooks_url":"https://api.github.com/repos/bf86/dive-site/hooks","issue_events_url":"https://api.github.com/repos/bf86/dive-site/issues/events{/number}","events_url":"https://api.github.com/repos/bf86/dive-site/events","assignees_url":"https://api.github.com/repos/bf86/dive-site/assignees{/user}","branches_url":"https://api.github.com/repos/bf86/dive-site/branches{/branch}","tags_url":"https://api.github.com/repos/bf86/dive-site/tags","blobs_url":"https://api.github.com/repos/bf86/dive-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bf86/dive-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bf86/dive-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/bf86/dive-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bf86/dive-site/statuses/{sha}","languages_url":"https://api.github.com/repos/bf86/dive-site/languages","stargazers_url":"https://api.github.com/repos/bf86/dive-site/stargazers","contributors_url":"https://api.github.com/repos/bf86/dive-site/contributors","subscribers_url":"https://api.github.com/repos/bf86/dive-site/subscribers","subscription_url":"https://api.github.com/repos/bf86/dive-site/subscription","commits_url":"https://api.github.com/repos/bf86/dive-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/bf86/dive-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/bf86/dive-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/bf86/dive-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/bf86/dive-site/contents/{+path}","compare_url":"https://api.github.com/repos/bf86/dive-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bf86/dive-site/merges","archive_url":"https://api.github.com/repos/bf86/dive-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bf86/dive-site/downloads","issues_url":"https://api.github.com/repos/bf86/dive-site/issues{/number}","pulls_url":"https://api.github.com/repos/bf86/dive-site/pulls{/number}","milestones_url":"https://api.github.com/repos/bf86/dive-site/milestones{/number}","notifications_url":"https://api.github.com/repos/bf86/dive-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bf86/dive-site/labels{/name}","releases_url":"https://api.github.com/repos/bf86/dive-site/releases{/id}","created_at":"2015-06-29T15:47:54Z","updated_at":"2015-07-01T17:32:12Z","pushed_at":"2015-07-01T19:27:06Z","git_url":"git://github.com/bf86/dive-site.git","ssh_url":"git@github.com:bf86/dive-site.git","clone_url":"https://github.com/bf86/dive-site.git","svn_url":"https://github.com/bf86/dive-site","homepage":null,"size":0,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"bf86:master","ref":"master","sha":"ec6c9ee202ab6cc460f4674baa3c716616e508cc","user":{"login":"bf86","id":10407163,"avatar_url":"https://avatars.githubusercontent.com/u/10407163?v=3","gravatar_id":"","url":"https://api.github.com/users/bf86","html_url":"https://github.com/bf86","followers_url":"https://api.github.com/users/bf86/followers","following_url":"https://api.github.com/users/bf86/following{/other_user}","gists_url":"https://api.github.com/users/bf86/gists{/gist_id}","starred_url":"https://api.github.com/users/bf86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf86/subscriptions","organizations_url":"https://api.github.com/users/bf86/orgs","repos_url":"https://api.github.com/users/bf86/repos","events_url":"https://api.github.com/users/bf86/events{/privacy}","received_events_url":"https://api.github.com/users/bf86/received_events","type":"User","site_admin":false},"repo":{"id":38256074,"name":"dive-site","full_name":"bf86/dive-site","owner":{"login":"bf86","id":10407163,"avatar_url":"https://avatars.githubusercontent.com/u/10407163?v=3","gravatar_id":"","url":"https://api.github.com/users/bf86","html_url":"https://github.com/bf86","followers_url":"https://api.github.com/users/bf86/followers","following_url":"https://api.github.com/users/bf86/following{/other_user}","gists_url":"https://api.github.com/users/bf86/gists{/gist_id}","starred_url":"https://api.github.com/users/bf86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf86/subscriptions","organizations_url":"https://api.github.com/users/bf86/orgs","repos_url":"https://api.github.com/users/bf86/repos","events_url":"https://api.github.com/users/bf86/events{/privacy}","received_events_url":"https://api.github.com/users/bf86/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bf86/dive-site","description":null,"fork":false,"url":"https://api.github.com/repos/bf86/dive-site","forks_url":"https://api.github.com/repos/bf86/dive-site/forks","keys_url":"https://api.github.com/repos/bf86/dive-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bf86/dive-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bf86/dive-site/teams","hooks_url":"https://api.github.com/repos/bf86/dive-site/hooks","issue_events_url":"https://api.github.com/repos/bf86/dive-site/issues/events{/number}","events_url":"https://api.github.com/repos/bf86/dive-site/events","assignees_url":"https://api.github.com/repos/bf86/dive-site/assignees{/user}","branches_url":"https://api.github.com/repos/bf86/dive-site/branches{/branch}","tags_url":"https://api.github.com/repos/bf86/dive-site/tags","blobs_url":"https://api.github.com/repos/bf86/dive-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bf86/dive-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bf86/dive-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/bf86/dive-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bf86/dive-site/statuses/{sha}","languages_url":"https://api.github.com/repos/bf86/dive-site/languages","stargazers_url":"https://api.github.com/repos/bf86/dive-site/stargazers","contributors_url":"https://api.github.com/repos/bf86/dive-site/contributors","subscribers_url":"https://api.github.com/repos/bf86/dive-site/subscribers","subscription_url":"https://api.github.com/repos/bf86/dive-site/subscription","commits_url":"https://api.github.com/repos/bf86/dive-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/bf86/dive-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/bf86/dive-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/bf86/dive-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/bf86/dive-site/contents/{+path}","compare_url":"https://api.github.com/repos/bf86/dive-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bf86/dive-site/merges","archive_url":"https://api.github.com/repos/bf86/dive-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bf86/dive-site/downloads","issues_url":"https://api.github.com/repos/bf86/dive-site/issues{/number}","pulls_url":"https://api.github.com/repos/bf86/dive-site/pulls{/number}","milestones_url":"https://api.github.com/repos/bf86/dive-site/milestones{/number}","notifications_url":"https://api.github.com/repos/bf86/dive-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bf86/dive-site/labels{/name}","releases_url":"https://api.github.com/repos/bf86/dive-site/releases{/id}","created_at":"2015-06-29T15:47:54Z","updated_at":"2015-07-01T17:32:12Z","pushed_at":"2015-07-01T19:27:06Z","git_url":"git://github.com/bf86/dive-site.git","ssh_url":"git@github.com:bf86/dive-site.git","clone_url":"https://github.com/bf86/dive-site.git","svn_url":"https://github.com/bf86/dive-site","homepage":null,"size":0,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bf86/dive-site/pulls/8"},"html":{"href":"https://github.com/bf86/dive-site/pull/8"},"issue":{"href":"https://api.github.com/repos/bf86/dive-site/issues/8"},"comments":{"href":"https://api.github.com/repos/bf86/dive-site/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/bf86/dive-site/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/bf86/dive-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bf86/dive-site/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/bf86/dive-site/statuses/19b84d5905e2e88e4ba539707da987392b4e76cb"}}}}