{"action":"created","comment":{"url":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments/45224896","id":45224896,"diff_hunk":"@@ -37,5 +37,89 @@\n       expect(page).to have_content(\"Login\")\n       expect(page).to_not have_content(\"Logout\")\n     end\n+    it \"is not allowed to created account without username\" do\n+      visit root_path\n+      click_link \"Create Account\"\n+\n+      fill_in \"Password\", with: 'password'\n+      fill_in \"First name\", with: 'Ross'\n+      fill_in \"Last name\", with: 'Edfort'\n+      fill_in \"Email address\", with: 'fake@fake.com'\n+      fill_in \"Phone number\", with: '111-111-1111'\n+      click_button \"Create Account\"\n+\n+      expect(page).to have_content(\"Username cannot be blank\")\n+      expect(page).to_not have_content(\"Hello Ross!\")\n+    end\n+    it \"is not allowed to created account without password\" do\n+      visit root_path\n+      click_link \"Create Account\"\n+\n+      fill_in \"Username\", with: \"rossedfort\"\n+      fill_in \"First name\", with: 'Ross'\n+      fill_in \"Last name\", with: 'Edfort'\n+      fill_in \"Email address\", with: 'fake@fake.com'\n+      fill_in \"Phone number\", with: '111-111-1111'\n+      click_button \"Create Account\"\n+\n+      expect(page).to have_content(\"Password cannot be blank\")\n+      expect(page).to_not have_content(\"Hello Ross!\")\n+    end\n+    it \"is not allowed to created account without first name\" do\n+      visit root_path\n+      click_link \"Create Account\"\n+\n+      fill_in \"Username\", with: \"rossedfort\"\n+      fill_in \"Password\", with: 'password'\n+      fill_in \"Last name\", with: 'Edfort'\n+      fill_in \"Email address\", with: 'fake@fake.com'\n+      fill_in \"Phone number\", with: '111-111-1111'\n+      click_button \"Create Account\"\n+\n+      expect(page).to have_content(\"First name cannot be blank\")\n+      expect(page).to_not have_content(\"Hello Ross!\")\n+    end\n+    it \"is not allowed to created account without last name\" do\n+      visit root_path\n+      click_link \"Create Account\"\n+\n+      fill_in \"Username\", with: \"rossedfort\"\n+      fill_in \"Password\", with: 'password'\n+      fill_in \"First name\", with: 'Ross'\n+      fill_in \"Email address\", with: 'fake@fake.com'\n+      fill_in \"Phone number\", with: '111-111-1111'\n+      click_button \"Create Account\"\n+\n+      expect(page).to have_content(\"Last name cannot be blank\")\n+      expect(page).to_not have_content(\"Hello Ross!\")\n+    end\n+    it \"is not allowed to created account without email address\" do\n+      visit root_path\n+      click_link \"Create Account\"\n+\n+      fill_in \"Username\", with: \"rossedfort\"\n+      fill_in \"Password\", with: 'password'\n+      fill_in \"First name\", with: 'Ross'\n+      fill_in \"Last name\", with: 'Edfort'\n+      fill_in \"Phone number\", with: '111-111-1111'\n+      click_button \"Create Account\"\n+\n+      expect(page).to have_content(\"Email address cannot be blank\")\n+      expect(page).to_not have_content(\"Hello Ross!\")\n+    end\n+    it \"is not allowed to created account without phone number\" do\n+      visit root_path\n+      click_link \"Create Account\"\n+\n+      fill_in \"Username\", with: \"rossedfort\"\n+      fill_in \"Password\", with: 'password'\n+      fill_in \"First name\", with: 'Ross'","path":"spec/features/visitor_can_create_account_spec.rb","position":95,"original_position":95,"commit_id":"0b96dddd48e3a2d96a2cbcc8f59de26af66a3be3","original_commit_id":"0b96dddd48e3a2d96a2cbcc8f59de26af66a3be3","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-11-18T16:47:10Z","updated_at":"2015-11-18T16:47:10Z","html_url":"https://github.com/robbielane/lens_lease/pull/67#discussion_r45224896","pull_request_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments/45224896"},"html":{"href":"https://github.com/robbielane/lens_lease/pull/67#discussion_r45224896"},"pull_request":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/robbielane/lens_lease/pulls/67","id":51109516,"html_url":"https://github.com/robbielane/lens_lease/pull/67","diff_url":"https://github.com/robbielane/lens_lease/pull/67.diff","patch_url":"https://github.com/robbielane/lens_lease/pull/67.patch","issue_url":"https://api.github.com/repos/robbielane/lens_lease/issues/67","number":67,"state":"open","locked":false,"title":"implement more sad path tests for:","user":{"login":"rossedfort","id":11775628,"avatar_url":"https://avatars.githubusercontent.com/u/11775628?v=3","gravatar_id":"","url":"https://api.github.com/users/rossedfort","html_url":"https://github.com/rossedfort","followers_url":"https://api.github.com/users/rossedfort/followers","following_url":"https://api.github.com/users/rossedfort/following{/other_user}","gists_url":"https://api.github.com/users/rossedfort/gists{/gist_id}","starred_url":"https://api.github.com/users/rossedfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossedfort/subscriptions","organizations_url":"https://api.github.com/users/rossedfort/orgs","repos_url":"https://api.github.com/users/rossedfort/repos","events_url":"https://api.github.com/users/rossedfort/events{/privacy}","received_events_url":"https://api.github.com/users/rossedfort/received_events","type":"User","site_admin":false},"body":"-admin item creation\r\n-admin item edit\r\n-visitor account creation\r\n-visitor account update","created_at":"2015-11-18T16:47:04Z","updated_at":"2015-11-18T16:47:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"251790a36565b28d2e99050f1fdc4522d2b269c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/67/commits","review_comments_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/67/comments","review_comment_url":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robbielane/lens_lease/issues/67/comments","statuses_url":"https://api.github.com/repos/robbielane/lens_lease/statuses/0b96dddd48e3a2d96a2cbcc8f59de26af66a3be3","head":{"label":"robbielane:further-testing","ref":"further-testing","sha":"0b96dddd48e3a2d96a2cbcc8f59de26af66a3be3","user":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"repo":{"id":45855766,"name":"lens_lease","full_name":"robbielane/lens_lease","owner":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbielane/lens_lease","description":"","fork":false,"url":"https://api.github.com/repos/robbielane/lens_lease","forks_url":"https://api.github.com/repos/robbielane/lens_lease/forks","keys_url":"https://api.github.com/repos/robbielane/lens_lease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbielane/lens_lease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbielane/lens_lease/teams","hooks_url":"https://api.github.com/repos/robbielane/lens_lease/hooks","issue_events_url":"https://api.github.com/repos/robbielane/lens_lease/issues/events{/number}","events_url":"https://api.github.com/repos/robbielane/lens_lease/events","assignees_url":"https://api.github.com/repos/robbielane/lens_lease/assignees{/user}","branches_url":"https://api.github.com/repos/robbielane/lens_lease/branches{/branch}","tags_url":"https://api.github.com/repos/robbielane/lens_lease/tags","blobs_url":"https://api.github.com/repos/robbielane/lens_lease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbielane/lens_lease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbielane/lens_lease/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbielane/lens_lease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbielane/lens_lease/statuses/{sha}","languages_url":"https://api.github.com/repos/robbielane/lens_lease/languages","stargazers_url":"https://api.github.com/repos/robbielane/lens_lease/stargazers","contributors_url":"https://api.github.com/repos/robbielane/lens_lease/contributors","subscribers_url":"https://api.github.com/repos/robbielane/lens_lease/subscribers","subscription_url":"https://api.github.com/repos/robbielane/lens_lease/subscription","commits_url":"https://api.github.com/repos/robbielane/lens_lease/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbielane/lens_lease/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbielane/lens_lease/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbielane/lens_lease/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbielane/lens_lease/contents/{+path}","compare_url":"https://api.github.com/repos/robbielane/lens_lease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbielane/lens_lease/merges","archive_url":"https://api.github.com/repos/robbielane/lens_lease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbielane/lens_lease/downloads","issues_url":"https://api.github.com/repos/robbielane/lens_lease/issues{/number}","pulls_url":"https://api.github.com/repos/robbielane/lens_lease/pulls{/number}","milestones_url":"https://api.github.com/repos/robbielane/lens_lease/milestones{/number}","notifications_url":"https://api.github.com/repos/robbielane/lens_lease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbielane/lens_lease/labels{/name}","releases_url":"https://api.github.com/repos/robbielane/lens_lease/releases{/id}","created_at":"2015-11-09T17:50:14Z","updated_at":"2015-11-09T17:51:45Z","pushed_at":"2015-11-18T16:47:05Z","git_url":"git://github.com/robbielane/lens_lease.git","ssh_url":"git@github.com:robbielane/lens_lease.git","clone_url":"https://github.com/robbielane/lens_lease.git","svn_url":"https://github.com/robbielane/lens_lease","homepage":null,"size":349,"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":"robbielane:master","ref":"master","sha":"679d4ba3f1b7a6d2fcf92e161e0737373208a47d","user":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"repo":{"id":45855766,"name":"lens_lease","full_name":"robbielane/lens_lease","owner":{"login":"robbielane","id":12688159,"avatar_url":"https://avatars.githubusercontent.com/u/12688159?v=3","gravatar_id":"","url":"https://api.github.com/users/robbielane","html_url":"https://github.com/robbielane","followers_url":"https://api.github.com/users/robbielane/followers","following_url":"https://api.github.com/users/robbielane/following{/other_user}","gists_url":"https://api.github.com/users/robbielane/gists{/gist_id}","starred_url":"https://api.github.com/users/robbielane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbielane/subscriptions","organizations_url":"https://api.github.com/users/robbielane/orgs","repos_url":"https://api.github.com/users/robbielane/repos","events_url":"https://api.github.com/users/robbielane/events{/privacy}","received_events_url":"https://api.github.com/users/robbielane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbielane/lens_lease","description":"","fork":false,"url":"https://api.github.com/repos/robbielane/lens_lease","forks_url":"https://api.github.com/repos/robbielane/lens_lease/forks","keys_url":"https://api.github.com/repos/robbielane/lens_lease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbielane/lens_lease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbielane/lens_lease/teams","hooks_url":"https://api.github.com/repos/robbielane/lens_lease/hooks","issue_events_url":"https://api.github.com/repos/robbielane/lens_lease/issues/events{/number}","events_url":"https://api.github.com/repos/robbielane/lens_lease/events","assignees_url":"https://api.github.com/repos/robbielane/lens_lease/assignees{/user}","branches_url":"https://api.github.com/repos/robbielane/lens_lease/branches{/branch}","tags_url":"https://api.github.com/repos/robbielane/lens_lease/tags","blobs_url":"https://api.github.com/repos/robbielane/lens_lease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbielane/lens_lease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbielane/lens_lease/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbielane/lens_lease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbielane/lens_lease/statuses/{sha}","languages_url":"https://api.github.com/repos/robbielane/lens_lease/languages","stargazers_url":"https://api.github.com/repos/robbielane/lens_lease/stargazers","contributors_url":"https://api.github.com/repos/robbielane/lens_lease/contributors","subscribers_url":"https://api.github.com/repos/robbielane/lens_lease/subscribers","subscription_url":"https://api.github.com/repos/robbielane/lens_lease/subscription","commits_url":"https://api.github.com/repos/robbielane/lens_lease/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbielane/lens_lease/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbielane/lens_lease/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbielane/lens_lease/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbielane/lens_lease/contents/{+path}","compare_url":"https://api.github.com/repos/robbielane/lens_lease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbielane/lens_lease/merges","archive_url":"https://api.github.com/repos/robbielane/lens_lease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbielane/lens_lease/downloads","issues_url":"https://api.github.com/repos/robbielane/lens_lease/issues{/number}","pulls_url":"https://api.github.com/repos/robbielane/lens_lease/pulls{/number}","milestones_url":"https://api.github.com/repos/robbielane/lens_lease/milestones{/number}","notifications_url":"https://api.github.com/repos/robbielane/lens_lease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbielane/lens_lease/labels{/name}","releases_url":"https://api.github.com/repos/robbielane/lens_lease/releases{/id}","created_at":"2015-11-09T17:50:14Z","updated_at":"2015-11-09T17:51:45Z","pushed_at":"2015-11-18T16:47:05Z","git_url":"git://github.com/robbielane/lens_lease.git","ssh_url":"git@github.com:robbielane/lens_lease.git","clone_url":"https://github.com/robbielane/lens_lease.git","svn_url":"https://github.com/robbielane/lens_lease","homepage":null,"size":349,"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/robbielane/lens_lease/pulls/67"},"html":{"href":"https://github.com/robbielane/lens_lease/pull/67"},"issue":{"href":"https://api.github.com/repos/robbielane/lens_lease/issues/67"},"comments":{"href":"https://api.github.com/repos/robbielane/lens_lease/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robbielane/lens_lease/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/robbielane/lens_lease/statuses/0b96dddd48e3a2d96a2cbcc8f59de26af66a3be3"}}}}