{"action":"created","comment":{"url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/comments/54837281","id":54837281,"diff_hunk":"@@ -1,40 +1,61 @@\n require \"rails_helper\"\n \n RSpec.feature \"user can log in and out\" do\n-  scenario \"user logs in and sees user dashboard\" do\n-    create_users[:user1]\n+  context 'valid params' do\n+    scenario \"user logs in and sees user dashboard\" do\n+      create_users[:user1]\n \n-    visit root_path\n+      visit root_path\n \n-    click_on \"Login\"\n+      click_on \"Login\"\n \n-    expect(current_path).to eq(login_path)\n+      expect(current_path).to eq(login_path)\n \n-    fill_in \"Username\", with: \"adrienne\"\n-    fill_in \"Password\", with: \"password\"\n+      fill_in \"Username\", with: \"adrienne\"\n+      fill_in \"Password\", with: \"password\"\n \n-    click_on \"Login Meow!\"\n+      click_on \"Login Meow!\"\n \n-    expect(current_path).to eq(dashboard_path)\n+      expect(current_path).to eq(dashboard_path)\n \n-    expect(page).to have_content(\"adrienne\")\n-  end\n+      expect(page).to have_content(\"adrienne\")\n+    end\n+\n+    scenario \"user can log out\" do\n+      create_users[:user1]\n+\n+      visit root_path\n+\n+      click_on \"Login\"\n \n-  scenario \"user can log out\" do\n-    create_users[:user1]\n+      fill_in \"Username\", with: \"adrienne\"\n+      fill_in \"Password\", with: \"password\"\n+\n+      click_on \"Login Meow!\"\n+\n+      click_on \"Logout\"\n+\n+      expect(page).to have_content(\"Login\")\n+      expect(page).to_not have_content(\"Logout\")\n+    end\n+  end\n+  context 'invalid params' do","path":"spec/features/user_can_log_in_and_out_spec.rb","position":55,"original_position":55,"commit_id":"98e38a4d07255b7fbaad8d8b67e2ed5c6f363215","original_commit_id":"98e38a4d07255b7fbaad8d8b67e2ed5c6f363215","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 double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-03-03T05:23:53Z","updated_at":"2016-03-03T05:23:53Z","html_url":"https://github.com/adriennedomingus/feline_friends-y/pull/36#discussion_r54837281","pull_request_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/comments/54837281"},"html":{"href":"https://github.com/adriennedomingus/feline_friends-y/pull/36#discussion_r54837281"},"pull_request":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36","id":61512204,"html_url":"https://github.com/adriennedomingus/feline_friends-y/pull/36","diff_url":"https://github.com/adriennedomingus/feline_friends-y/pull/36.diff","patch_url":"https://github.com/adriennedomingus/feline_friends-y/pull/36.patch","issue_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/36","number":36,"state":"open","locked":false,"title":"[WIP] Implement Sad Paths","user":{"login":"cheljoh","id":14203424,"avatar_url":"https://avatars.githubusercontent.com/u/14203424?v=3","gravatar_id":"","url":"https://api.github.com/users/cheljoh","html_url":"https://github.com/cheljoh","followers_url":"https://api.github.com/users/cheljoh/followers","following_url":"https://api.github.com/users/cheljoh/following{/other_user}","gists_url":"https://api.github.com/users/cheljoh/gists{/gist_id}","starred_url":"https://api.github.com/users/cheljoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheljoh/subscriptions","organizations_url":"https://api.github.com/users/cheljoh/orgs","repos_url":"https://api.github.com/users/cheljoh/repos","events_url":"https://api.github.com/users/cheljoh/events{/privacy}","received_events_url":"https://api.github.com/users/cheljoh/received_events","type":"User","site_admin":false},"body":"Added sad path tests  with flash messages and the necessary logic in the controllers and (temporarily) the views.\r\nAdded log_in_user method to spec helper.","created_at":"2016-03-03T05:23:48Z","updated_at":"2016-03-03T05:23:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be7e0d9e7738374300197944ad067e3cbf111625","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36/commits","review_comments_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36/comments","review_comment_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/36/comments","statuses_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/statuses/98e38a4d07255b7fbaad8d8b67e2ed5c6f363215","head":{"label":"adriennedomingus:33-sad_paths","ref":"33-sad_paths","sha":"98e38a4d07255b7fbaad8d8b67e2ed5c6f363215","user":{"login":"adriennedomingus","id":10178677,"avatar_url":"https://avatars.githubusercontent.com/u/10178677?v=3","gravatar_id":"","url":"https://api.github.com/users/adriennedomingus","html_url":"https://github.com/adriennedomingus","followers_url":"https://api.github.com/users/adriennedomingus/followers","following_url":"https://api.github.com/users/adriennedomingus/following{/other_user}","gists_url":"https://api.github.com/users/adriennedomingus/gists{/gist_id}","starred_url":"https://api.github.com/users/adriennedomingus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriennedomingus/subscriptions","organizations_url":"https://api.github.com/users/adriennedomingus/orgs","repos_url":"https://api.github.com/users/adriennedomingus/repos","events_url":"https://api.github.com/users/adriennedomingus/events{/privacy}","received_events_url":"https://api.github.com/users/adriennedomingus/received_events","type":"User","site_admin":false},"repo":{"id":52824460,"name":"feline_friends-y","full_name":"adriennedomingus/feline_friends-y","owner":{"login":"adriennedomingus","id":10178677,"avatar_url":"https://avatars.githubusercontent.com/u/10178677?v=3","gravatar_id":"","url":"https://api.github.com/users/adriennedomingus","html_url":"https://github.com/adriennedomingus","followers_url":"https://api.github.com/users/adriennedomingus/followers","following_url":"https://api.github.com/users/adriennedomingus/following{/other_user}","gists_url":"https://api.github.com/users/adriennedomingus/gists{/gist_id}","starred_url":"https://api.github.com/users/adriennedomingus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriennedomingus/subscriptions","organizations_url":"https://api.github.com/users/adriennedomingus/orgs","repos_url":"https://api.github.com/users/adriennedomingus/repos","events_url":"https://api.github.com/users/adriennedomingus/events{/privacy}","received_events_url":"https://api.github.com/users/adriennedomingus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adriennedomingus/feline_friends-y","description":null,"fork":false,"url":"https://api.github.com/repos/adriennedomingus/feline_friends-y","forks_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/forks","keys_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/teams","hooks_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/hooks","issue_events_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/events{/number}","events_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/events","assignees_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/assignees{/user}","branches_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/branches{/branch}","tags_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/tags","blobs_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/refs{/sha}","trees_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/statuses/{sha}","languages_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/languages","stargazers_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/stargazers","contributors_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/contributors","subscribers_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/subscribers","subscription_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/subscription","commits_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/commits{/sha}","git_commits_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/commits{/sha}","comments_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/comments{/number}","issue_comment_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/comments{/number}","contents_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/contents/{+path}","compare_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/merges","archive_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/downloads","issues_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues{/number}","pulls_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls{/number}","milestones_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/milestones{/number}","notifications_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/labels{/name}","releases_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/releases{/id}","deployments_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/deployments","created_at":"2016-02-29T21:01:54Z","updated_at":"2016-02-29T21:02:18Z","pushed_at":"2016-03-03T05:23:48Z","git_url":"git://github.com/adriennedomingus/feline_friends-y.git","ssh_url":"git@github.com:adriennedomingus/feline_friends-y.git","clone_url":"https://github.com/adriennedomingus/feline_friends-y.git","svn_url":"https://github.com/adriennedomingus/feline_friends-y","homepage":null,"size":134,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"adriennedomingus:master","ref":"master","sha":"a6e7512dbe4fb4d81578fd389f92953ebcf96d21","user":{"login":"adriennedomingus","id":10178677,"avatar_url":"https://avatars.githubusercontent.com/u/10178677?v=3","gravatar_id":"","url":"https://api.github.com/users/adriennedomingus","html_url":"https://github.com/adriennedomingus","followers_url":"https://api.github.com/users/adriennedomingus/followers","following_url":"https://api.github.com/users/adriennedomingus/following{/other_user}","gists_url":"https://api.github.com/users/adriennedomingus/gists{/gist_id}","starred_url":"https://api.github.com/users/adriennedomingus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriennedomingus/subscriptions","organizations_url":"https://api.github.com/users/adriennedomingus/orgs","repos_url":"https://api.github.com/users/adriennedomingus/repos","events_url":"https://api.github.com/users/adriennedomingus/events{/privacy}","received_events_url":"https://api.github.com/users/adriennedomingus/received_events","type":"User","site_admin":false},"repo":{"id":52824460,"name":"feline_friends-y","full_name":"adriennedomingus/feline_friends-y","owner":{"login":"adriennedomingus","id":10178677,"avatar_url":"https://avatars.githubusercontent.com/u/10178677?v=3","gravatar_id":"","url":"https://api.github.com/users/adriennedomingus","html_url":"https://github.com/adriennedomingus","followers_url":"https://api.github.com/users/adriennedomingus/followers","following_url":"https://api.github.com/users/adriennedomingus/following{/other_user}","gists_url":"https://api.github.com/users/adriennedomingus/gists{/gist_id}","starred_url":"https://api.github.com/users/adriennedomingus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriennedomingus/subscriptions","organizations_url":"https://api.github.com/users/adriennedomingus/orgs","repos_url":"https://api.github.com/users/adriennedomingus/repos","events_url":"https://api.github.com/users/adriennedomingus/events{/privacy}","received_events_url":"https://api.github.com/users/adriennedomingus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adriennedomingus/feline_friends-y","description":null,"fork":false,"url":"https://api.github.com/repos/adriennedomingus/feline_friends-y","forks_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/forks","keys_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/teams","hooks_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/hooks","issue_events_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/events{/number}","events_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/events","assignees_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/assignees{/user}","branches_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/branches{/branch}","tags_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/tags","blobs_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/refs{/sha}","trees_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/statuses/{sha}","languages_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/languages","stargazers_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/stargazers","contributors_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/contributors","subscribers_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/subscribers","subscription_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/subscription","commits_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/commits{/sha}","git_commits_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/git/commits{/sha}","comments_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/comments{/number}","issue_comment_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/comments{/number}","contents_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/contents/{+path}","compare_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/merges","archive_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/downloads","issues_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues{/number}","pulls_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls{/number}","milestones_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/milestones{/number}","notifications_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/labels{/name}","releases_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/releases{/id}","deployments_url":"https://api.github.com/repos/adriennedomingus/feline_friends-y/deployments","created_at":"2016-02-29T21:01:54Z","updated_at":"2016-02-29T21:02:18Z","pushed_at":"2016-03-03T05:23:48Z","git_url":"git://github.com/adriennedomingus/feline_friends-y.git","ssh_url":"git@github.com:adriennedomingus/feline_friends-y.git","clone_url":"https://github.com/adriennedomingus/feline_friends-y.git","svn_url":"https://github.com/adriennedomingus/feline_friends-y","homepage":null,"size":134,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36"},"html":{"href":"https://github.com/adriennedomingus/feline_friends-y/pull/36"},"issue":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/36"},"comments":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/adriennedomingus/feline_friends-y/statuses/98e38a4d07255b7fbaad8d8b67e2ed5c6f363215"}}}}