{"action":"created","comment":{"url":"https://api.github.com/repos/osulp/building-oregon/pulls/comments/24038584","id":24038584,"diff_hunk":"@@ -0,0 +1,34 @@\n+require 'spec_helper'\n+\n+describe 'Contact Page' do\n+\n+  before do\n+    visit root_path\n+  end\n+\n+  context \"when there are no settings configured\" do\n+    context \"and the contact page is visited\" do\n+      before do\n+        click_link \"Contact Us\"\n+      end\n+      it 'should say there are no settings configured' do \n+        expect(page).to have_content(\"No settings are configured.\")\n+      end\n+    end\n+  end\n+\n+  context \"when there are settings configured\" do\n+    let(:setting){create(:setting, :setting_name => 'Contact', :value => \"Yo!\")}\n+    before do\n+      setting\n+    end\n+    context \"and the contact page is visited\" do\n+      before do\n+        click_link \"Contact Us\"\n+      end\n+      it 'should say there are no settings configured' do ","path":"spec/features/contact_spec.rb","position":29,"original_position":29,"commit_id":"c6ea6056766652165b64d5eda3a65c58067002c8","original_commit_id":"dab5d1a8ff1f030a8b20a5b167af31adaa61a066","user":{"login":"straleyb","id":6424683,"avatar_url":"https://avatars.githubusercontent.com/u/6424683?v=3","gravatar_id":"","url":"https://api.github.com/users/straleyb","html_url":"https://github.com/straleyb","followers_url":"https://api.github.com/users/straleyb/followers","following_url":"https://api.github.com/users/straleyb/following{/other_user}","gists_url":"https://api.github.com/users/straleyb/gists{/gist_id}","starred_url":"https://api.github.com/users/straleyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/straleyb/subscriptions","organizations_url":"https://api.github.com/users/straleyb/orgs","repos_url":"https://api.github.com/users/straleyb/repos","events_url":"https://api.github.com/users/straleyb/events{/privacy}","received_events_url":"https://api.github.com/users/straleyb/received_events","type":"User","site_admin":false},"body":"Definitely! Ill get that fixed asap.\r\nOn Feb 3, 2015 12:45 PM, \"Trey Terrell\" <notifications@github.com> wrote:\r\n\r\n> In spec/features/contact_spec.rb\r\n> <https://github.com/osulp/building-oregon/pull/26#discussion_r24038056>:\r\n>\r\n> > +      it 'should say there are no settings configured' do\r\n> > +        expect(page).to have_content(\"No settings are configured.\")\r\n> > +      end\r\n> > +    end\r\n> > +  end\r\n> > +\r\n> > +  context \"when there are settings configured\" do\r\n> > +    let(:setting){create(:setting, :setting_name => 'Contact', :value => \"Yo!\")}\r\n> > +    before do\r\n> > +      setting\r\n> > +    end\r\n> > +    context \"and the contact page is visited\" do\r\n> > +      before do\r\n> > +        click_link \"Contact Us\"\r\n> > +      end\r\n> > +      it 'should say there are no settings configured' do\r\n>\r\n> @straleyb <https://github.com/straleyb> Can you look at this note?\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/osulp/building-oregon/pull/26/files#r24038056>.\r\n>","created_at":"2015-02-03T20:52:39Z","updated_at":"2015-02-03T20:52:39Z","html_url":"https://github.com/osulp/building-oregon/pull/26#discussion_r24038584","pull_request_url":"https://api.github.com/repos/osulp/building-oregon/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/osulp/building-oregon/pulls/comments/24038584"},"html":{"href":"https://github.com/osulp/building-oregon/pull/26#discussion_r24038584"},"pull_request":{"href":"https://api.github.com/repos/osulp/building-oregon/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/osulp/building-oregon/pulls/26","id":26763088,"html_url":"https://github.com/osulp/building-oregon/pull/26","diff_url":"https://github.com/osulp/building-oregon/pull/26.diff","patch_url":"https://github.com/osulp/building-oregon/pull/26.patch","issue_url":"https://api.github.com/repos/osulp/building-oregon/issues/26","number":26,"state":"open","locked":false,"title":"Added contact us page.","user":{"login":"straleyb","id":6424683,"avatar_url":"https://avatars.githubusercontent.com/u/6424683?v=3","gravatar_id":"","url":"https://api.github.com/users/straleyb","html_url":"https://github.com/straleyb","followers_url":"https://api.github.com/users/straleyb/followers","following_url":"https://api.github.com/users/straleyb/following{/other_user}","gists_url":"https://api.github.com/users/straleyb/gists{/gist_id}","starred_url":"https://api.github.com/users/straleyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/straleyb/subscriptions","organizations_url":"https://api.github.com/users/straleyb/orgs","repos_url":"https://api.github.com/users/straleyb/repos","events_url":"https://api.github.com/users/straleyb/events{/privacy}","received_events_url":"https://api.github.com/users/straleyb/received_events","type":"User","site_admin":false},"body":"Fixes #24 ","created_at":"2015-01-02T17:03:54Z","updated_at":"2015-02-03T20:52:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be23264642d07ba592aecd50babcf1d9f5e36b87","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osulp/building-oregon/pulls/26/commits","review_comments_url":"https://api.github.com/repos/osulp/building-oregon/pulls/26/comments","review_comment_url":"https://api.github.com/repos/osulp/building-oregon/pulls/comments/{number}","comments_url":"https://api.github.com/repos/osulp/building-oregon/issues/26/comments","statuses_url":"https://api.github.com/repos/osulp/building-oregon/statuses/c6ea6056766652165b64d5eda3a65c58067002c8","head":{"label":"osulp:feature/ContactUs","ref":"feature/ContactUs","sha":"c6ea6056766652165b64d5eda3a65c58067002c8","user":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"repo":{"id":24825984,"name":"building-oregon","full_name":"osulp/building-oregon","owner":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osulp/building-oregon","description":"","fork":false,"url":"https://api.github.com/repos/osulp/building-oregon","forks_url":"https://api.github.com/repos/osulp/building-oregon/forks","keys_url":"https://api.github.com/repos/osulp/building-oregon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osulp/building-oregon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osulp/building-oregon/teams","hooks_url":"https://api.github.com/repos/osulp/building-oregon/hooks","issue_events_url":"https://api.github.com/repos/osulp/building-oregon/issues/events{/number}","events_url":"https://api.github.com/repos/osulp/building-oregon/events","assignees_url":"https://api.github.com/repos/osulp/building-oregon/assignees{/user}","branches_url":"https://api.github.com/repos/osulp/building-oregon/branches{/branch}","tags_url":"https://api.github.com/repos/osulp/building-oregon/tags","blobs_url":"https://api.github.com/repos/osulp/building-oregon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osulp/building-oregon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osulp/building-oregon/git/refs{/sha}","trees_url":"https://api.github.com/repos/osulp/building-oregon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osulp/building-oregon/statuses/{sha}","languages_url":"https://api.github.com/repos/osulp/building-oregon/languages","stargazers_url":"https://api.github.com/repos/osulp/building-oregon/stargazers","contributors_url":"https://api.github.com/repos/osulp/building-oregon/contributors","subscribers_url":"https://api.github.com/repos/osulp/building-oregon/subscribers","subscription_url":"https://api.github.com/repos/osulp/building-oregon/subscription","commits_url":"https://api.github.com/repos/osulp/building-oregon/commits{/sha}","git_commits_url":"https://api.github.com/repos/osulp/building-oregon/git/commits{/sha}","comments_url":"https://api.github.com/repos/osulp/building-oregon/comments{/number}","issue_comment_url":"https://api.github.com/repos/osulp/building-oregon/issues/comments/{number}","contents_url":"https://api.github.com/repos/osulp/building-oregon/contents/{+path}","compare_url":"https://api.github.com/repos/osulp/building-oregon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osulp/building-oregon/merges","archive_url":"https://api.github.com/repos/osulp/building-oregon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osulp/building-oregon/downloads","issues_url":"https://api.github.com/repos/osulp/building-oregon/issues{/number}","pulls_url":"https://api.github.com/repos/osulp/building-oregon/pulls{/number}","milestones_url":"https://api.github.com/repos/osulp/building-oregon/milestones{/number}","notifications_url":"https://api.github.com/repos/osulp/building-oregon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osulp/building-oregon/labels{/name}","releases_url":"https://api.github.com/repos/osulp/building-oregon/releases{/id}","created_at":"2014-10-05T20:50:37Z","updated_at":"2015-02-03T20:45:07Z","pushed_at":"2015-02-03T20:45:07Z","git_url":"git://github.com/osulp/building-oregon.git","ssh_url":"git@github.com:osulp/building-oregon.git","clone_url":"https://github.com/osulp/building-oregon.git","svn_url":"https://github.com/osulp/building-oregon","homepage":null,"size":76928,"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":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"osulp:master","ref":"master","sha":"bc9bd0e96562850f98d5583fd7e254a112a24961","user":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"repo":{"id":24825984,"name":"building-oregon","full_name":"osulp/building-oregon","owner":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osulp/building-oregon","description":"","fork":false,"url":"https://api.github.com/repos/osulp/building-oregon","forks_url":"https://api.github.com/repos/osulp/building-oregon/forks","keys_url":"https://api.github.com/repos/osulp/building-oregon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osulp/building-oregon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osulp/building-oregon/teams","hooks_url":"https://api.github.com/repos/osulp/building-oregon/hooks","issue_events_url":"https://api.github.com/repos/osulp/building-oregon/issues/events{/number}","events_url":"https://api.github.com/repos/osulp/building-oregon/events","assignees_url":"https://api.github.com/repos/osulp/building-oregon/assignees{/user}","branches_url":"https://api.github.com/repos/osulp/building-oregon/branches{/branch}","tags_url":"https://api.github.com/repos/osulp/building-oregon/tags","blobs_url":"https://api.github.com/repos/osulp/building-oregon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osulp/building-oregon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osulp/building-oregon/git/refs{/sha}","trees_url":"https://api.github.com/repos/osulp/building-oregon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osulp/building-oregon/statuses/{sha}","languages_url":"https://api.github.com/repos/osulp/building-oregon/languages","stargazers_url":"https://api.github.com/repos/osulp/building-oregon/stargazers","contributors_url":"https://api.github.com/repos/osulp/building-oregon/contributors","subscribers_url":"https://api.github.com/repos/osulp/building-oregon/subscribers","subscription_url":"https://api.github.com/repos/osulp/building-oregon/subscription","commits_url":"https://api.github.com/repos/osulp/building-oregon/commits{/sha}","git_commits_url":"https://api.github.com/repos/osulp/building-oregon/git/commits{/sha}","comments_url":"https://api.github.com/repos/osulp/building-oregon/comments{/number}","issue_comment_url":"https://api.github.com/repos/osulp/building-oregon/issues/comments/{number}","contents_url":"https://api.github.com/repos/osulp/building-oregon/contents/{+path}","compare_url":"https://api.github.com/repos/osulp/building-oregon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osulp/building-oregon/merges","archive_url":"https://api.github.com/repos/osulp/building-oregon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osulp/building-oregon/downloads","issues_url":"https://api.github.com/repos/osulp/building-oregon/issues{/number}","pulls_url":"https://api.github.com/repos/osulp/building-oregon/pulls{/number}","milestones_url":"https://api.github.com/repos/osulp/building-oregon/milestones{/number}","notifications_url":"https://api.github.com/repos/osulp/building-oregon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osulp/building-oregon/labels{/name}","releases_url":"https://api.github.com/repos/osulp/building-oregon/releases{/id}","created_at":"2014-10-05T20:50:37Z","updated_at":"2015-02-03T20:45:07Z","pushed_at":"2015-02-03T20:45:07Z","git_url":"git://github.com/osulp/building-oregon.git","ssh_url":"git@github.com:osulp/building-oregon.git","clone_url":"https://github.com/osulp/building-oregon.git","svn_url":"https://github.com/osulp/building-oregon","homepage":null,"size":76928,"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":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osulp/building-oregon/pulls/26"},"html":{"href":"https://github.com/osulp/building-oregon/pull/26"},"issue":{"href":"https://api.github.com/repos/osulp/building-oregon/issues/26"},"comments":{"href":"https://api.github.com/repos/osulp/building-oregon/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/osulp/building-oregon/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/osulp/building-oregon/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/osulp/building-oregon/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/osulp/building-oregon/statuses/c6ea6056766652165b64d5eda3a65c58067002c8"}}}}