{"action":"created","comment":{"url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/comments/22434945","id":22434945,"diff_hunk":"@@ -0,0 +1,36 @@\n+require 'rails_helper'\n+\n+feature \"status\" do\n+\n+  context \"authorized user\" do\n+    let(:user) { FactoryGirl.create(:user) }\n+\n+    before(:each) do\n+      sign_in_as(user)\n+    end\n+\n+    scenario \"creates status successfully\" do\n+      visit user_profile_path(user)\n+\n+      expect(page).to have_content(\"Sleeping\")\n+\n+      update_status(\"In The Zone\")\n+\n+      expect(page).to_not have_content(\"Sleeping\")\n+      expect(page).to have_content(\"In The Zone\")\n+    end\n+\n+    scenario \"status gets updated on dashboard\" do\n+      visit user_profile_path(user)\n+\n+      expect(page).to have_content(\"Sleeping\")\n+\n+      update_status(\"In The Zone\")\n+\n+      visit dashboard_path\n+      expect(page).to have_content(\"In The Zone\")\n+    end\n+\n+  end\n+end\n+","path":"spec/features/status_spec.rb","position":36,"original_position":36,"commit_id":"40fcdb69f94da42a8e33cd2c7bb732415758e926","original_commit_id":"40fcdb69f94da42a8e33cd2c7bb732415758e926","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":"1 trailing blank lines detected.","created_at":"2015-01-03T21:40:39Z","updated_at":"2015-01-03T21:40:39Z","html_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails/pull/10#discussion_r22434945","pull_request_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/comments/22434945"},"html":{"href":"https://github.com/SpencerCDixon/Launch-Pairs-Rails/pull/10#discussion_r22434945"},"pull_request":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10","id":26787207,"html_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails/pull/10","diff_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails/pull/10.diff","patch_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails/pull/10.patch","issue_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/10","number":10,"state":"open","locked":false,"title":"Refactoring tests","user":{"login":"SpencerCDixon","id":7471018,"avatar_url":"https://avatars.githubusercontent.com/u/7471018?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerCDixon","html_url":"https://github.com/SpencerCDixon","followers_url":"https://api.github.com/users/SpencerCDixon/followers","following_url":"https://api.github.com/users/SpencerCDixon/following{/other_user}","gists_url":"https://api.github.com/users/SpencerCDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerCDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerCDixon/subscriptions","organizations_url":"https://api.github.com/users/SpencerCDixon/orgs","repos_url":"https://api.github.com/users/SpencerCDixon/repos","events_url":"https://api.github.com/users/SpencerCDixon/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerCDixon/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-03T21:29:39Z","updated_at":"2015-01-03T21:40:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d14580df51f23afb15fb7427812a570e41011cc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10/commits","review_comments_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10/comments","review_comment_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/10/comments","statuses_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/statuses/40fcdb69f94da42a8e33cd2c7bb732415758e926","head":{"label":"SpencerCDixon:refactoring-tests","ref":"refactoring-tests","sha":"40fcdb69f94da42a8e33cd2c7bb732415758e926","user":{"login":"SpencerCDixon","id":7471018,"avatar_url":"https://avatars.githubusercontent.com/u/7471018?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerCDixon","html_url":"https://github.com/SpencerCDixon","followers_url":"https://api.github.com/users/SpencerCDixon/followers","following_url":"https://api.github.com/users/SpencerCDixon/following{/other_user}","gists_url":"https://api.github.com/users/SpencerCDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerCDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerCDixon/subscriptions","organizations_url":"https://api.github.com/users/SpencerCDixon/orgs","repos_url":"https://api.github.com/users/SpencerCDixon/repos","events_url":"https://api.github.com/users/SpencerCDixon/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerCDixon/received_events","type":"User","site_admin":false},"repo":{"id":28465436,"name":"Launch-Pairs-Rails","full_name":"SpencerCDixon/Launch-Pairs-Rails","owner":{"login":"SpencerCDixon","id":7471018,"avatar_url":"https://avatars.githubusercontent.com/u/7471018?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerCDixon","html_url":"https://github.com/SpencerCDixon","followers_url":"https://api.github.com/users/SpencerCDixon/followers","following_url":"https://api.github.com/users/SpencerCDixon/following{/other_user}","gists_url":"https://api.github.com/users/SpencerCDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerCDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerCDixon/subscriptions","organizations_url":"https://api.github.com/users/SpencerCDixon/orgs","repos_url":"https://api.github.com/users/SpencerCDixon/repos","events_url":"https://api.github.com/users/SpencerCDixon/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerCDixon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails","description":"Launch Pairs for Rails","fork":false,"url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails","forks_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/forks","keys_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/teams","hooks_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/hooks","issue_events_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/events{/number}","events_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/events","assignees_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/assignees{/user}","branches_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/branches{/branch}","tags_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/tags","blobs_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/statuses/{sha}","languages_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/languages","stargazers_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/stargazers","contributors_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/contributors","subscribers_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/subscribers","subscription_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/subscription","commits_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/contents/{+path}","compare_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/merges","archive_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/downloads","issues_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues{/number}","pulls_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls{/number}","milestones_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/milestones{/number}","notifications_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/labels{/name}","releases_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/releases{/id}","created_at":"2014-12-25T00:18:07Z","updated_at":"2015-01-03T16:48:17Z","pushed_at":"2015-01-03T21:40:35Z","git_url":"git://github.com/SpencerCDixon/Launch-Pairs-Rails.git","ssh_url":"git@github.com:SpencerCDixon/Launch-Pairs-Rails.git","clone_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails.git","svn_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails","homepage":null,"size":476,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"SpencerCDixon:master","ref":"master","sha":"2318d847a24532532ec137478d5f4ca4e2563378","user":{"login":"SpencerCDixon","id":7471018,"avatar_url":"https://avatars.githubusercontent.com/u/7471018?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerCDixon","html_url":"https://github.com/SpencerCDixon","followers_url":"https://api.github.com/users/SpencerCDixon/followers","following_url":"https://api.github.com/users/SpencerCDixon/following{/other_user}","gists_url":"https://api.github.com/users/SpencerCDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerCDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerCDixon/subscriptions","organizations_url":"https://api.github.com/users/SpencerCDixon/orgs","repos_url":"https://api.github.com/users/SpencerCDixon/repos","events_url":"https://api.github.com/users/SpencerCDixon/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerCDixon/received_events","type":"User","site_admin":false},"repo":{"id":28465436,"name":"Launch-Pairs-Rails","full_name":"SpencerCDixon/Launch-Pairs-Rails","owner":{"login":"SpencerCDixon","id":7471018,"avatar_url":"https://avatars.githubusercontent.com/u/7471018?v=3","gravatar_id":"","url":"https://api.github.com/users/SpencerCDixon","html_url":"https://github.com/SpencerCDixon","followers_url":"https://api.github.com/users/SpencerCDixon/followers","following_url":"https://api.github.com/users/SpencerCDixon/following{/other_user}","gists_url":"https://api.github.com/users/SpencerCDixon/gists{/gist_id}","starred_url":"https://api.github.com/users/SpencerCDixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpencerCDixon/subscriptions","organizations_url":"https://api.github.com/users/SpencerCDixon/orgs","repos_url":"https://api.github.com/users/SpencerCDixon/repos","events_url":"https://api.github.com/users/SpencerCDixon/events{/privacy}","received_events_url":"https://api.github.com/users/SpencerCDixon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails","description":"Launch Pairs for Rails","fork":false,"url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails","forks_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/forks","keys_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/teams","hooks_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/hooks","issue_events_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/events{/number}","events_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/events","assignees_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/assignees{/user}","branches_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/branches{/branch}","tags_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/tags","blobs_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/statuses/{sha}","languages_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/languages","stargazers_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/stargazers","contributors_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/contributors","subscribers_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/subscribers","subscription_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/subscription","commits_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/contents/{+path}","compare_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/merges","archive_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/downloads","issues_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues{/number}","pulls_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls{/number}","milestones_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/milestones{/number}","notifications_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/labels{/name}","releases_url":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/releases{/id}","created_at":"2014-12-25T00:18:07Z","updated_at":"2015-01-03T16:48:17Z","pushed_at":"2015-01-03T21:40:35Z","git_url":"git://github.com/SpencerCDixon/Launch-Pairs-Rails.git","ssh_url":"git@github.com:SpencerCDixon/Launch-Pairs-Rails.git","clone_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails.git","svn_url":"https://github.com/SpencerCDixon/Launch-Pairs-Rails","homepage":null,"size":476,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10"},"html":{"href":"https://github.com/SpencerCDixon/Launch-Pairs-Rails/pull/10"},"issue":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/10"},"comments":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/SpencerCDixon/Launch-Pairs-Rails/statuses/40fcdb69f94da42a8e33cd2c7bb732415758e926"}}}}