{"action":"created","comment":{"url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/comments/76129441","id":76129441,"diff_hunk":"@@ -1,31 +1,99 @@\n+require 'simplecov'\n+SimpleCov.start 'rails'\n+\n+# SimpleCov.start do\n+#   add_group \"Model\", \"app/models\"\n+#   add_group \"Controllers\", \"app/controllers\"\n+#   add_group \"Helpers\", \"app/helpers\"\n+#   add_group \"Long files\" do |src_file|\n+#     src_file.lines.count > 100\n+#   end\n+#   add_group \"Multiple Files\", [\"app/models\", \"app/controllers\", \"app/helpers\"] # You can also pass in an array\n+# end\n+\n+def create_user\n+  role = Role.create(name: \"registered_user\")\n+  role.users.create!(\n+    username: \"josh\",\n+    email: \"josh@aol.com\",\n+    password: \"password\",\n+    first_name: \"Josh\",\n+    last_name: \"Winham\",\n+    address: \"2122 Concord Lane\",\n+    city: \"Denver\",\n+    state: \"CO\",\n+    zip_code: 80215\n+  )\n+end\n+\n def create_company\n+  user = User.create!(\n+    username: \"Test\",\n+    email: \"nicolekmarina@ssdshotmail.com\",\n+    password: \"password\",\n+    first_name: \"Nicole\",\n+    last_name: \"Marina\",\n+    address: \"2122 Concord Lane\",\n+    city: \"Denver\",\n+    state: \"CO\",\n+    zip_code: 80215\n+  )\n   industry = Industry.create!(name: \"Tech\")\n   industry.companies.create!(\n     name: \"Inspirato\",\n     description: \"Great company\",\n     location: \"CO\",\n-    status: 2,\n-    img_path: \"http://kpcbweb2.s3.amazonaws.com/companies/422/logo/original/Inspirato_logotype_K_-%C2%AB.jpg?1339101904\"\n+    status: \"online\",\n+    img_path: \"http://kpcbweb2.s3.amazonaws.com/companies/422/logo/original/Inspirato_logotype_K_-%C2%AB.jpg?1339101904\",\n+    user_id: user.id\n   )\n end\n \n-def create_three_companies\n+def create_two_companies\n   create_company\n+  user = User.create!(\n+    username: \"Test2\",\n+    email: \"nicolekrihhhxxxxstenmarina@hotmail.com\",\n+    password: \"password\",\n+    first_name: \"Nicole\",\n+    last_name: \"Marina\",\n+    address: \"2122 Concord Lane\",\n+    city: \"Denver\",\n+    state: \"CO\",\n+    zip_code: 80215\n+  )\n   industry2 = Industry.create!(name: \"Advertising\")\n   industry2.companies.create!(\n     name: \"Integer\",\n     description: \"Nice company\",\n     location: \"CO\",\n-    status: 2,\n-    img_path: \"http://kpcbweb2.s3.amazonaws.com/companies/422/logo/original/Inspirato_logotype_K_-%C2%AB.jpg?1339101904\"\n+    status: \"online\",\n+    img_path: \"http://kpcbweb2.s3.amazonaws.com/companies/422/logo/original/Inspirato_logotype_K_-%C2%AB.jpg?1339101904\",","path":"spec/support/test_helper.rb","position":49,"original_position":76,"commit_id":"8c8db138f7132ae9892f7a1cd625567c5c807c37","original_commit_id":"8c8db138f7132ae9892f7a1cd625567c5c807c37","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":"Line is too long. [121/80]","created_at":"2016-08-24T20:09:20Z","updated_at":"2016-08-24T20:09:20Z","html_url":"https://github.com/NicoleKMarino/the_pivot/pull/108#discussion_r76129441","pull_request_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/comments/76129441"},"html":{"href":"https://github.com/NicoleKMarino/the_pivot/pull/108#discussion_r76129441"},"pull_request":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108","id":82608642,"html_url":"https://github.com/NicoleKMarino/the_pivot/pull/108","diff_url":"https://github.com/NicoleKMarino/the_pivot/pull/108.diff","patch_url":"https://github.com/NicoleKMarino/the_pivot/pull/108.patch","issue_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/108","number":108,"state":"open","locked":false,"title":"Job application and employer functionality","user":{"login":"Laner12","id":13527774,"avatar_url":"https://avatars.githubusercontent.com/u/13527774?v=3","gravatar_id":"","url":"https://api.github.com/users/Laner12","html_url":"https://github.com/Laner12","followers_url":"https://api.github.com/users/Laner12/followers","following_url":"https://api.github.com/users/Laner12/following{/other_user}","gists_url":"https://api.github.com/users/Laner12/gists{/gist_id}","starred_url":"https://api.github.com/users/Laner12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laner12/subscriptions","organizations_url":"https://api.github.com/users/Laner12/orgs","repos_url":"https://api.github.com/users/Laner12/repos","events_url":"https://api.github.com/users/Laner12/events{/privacy}","received_events_url":"https://api.github.com/users/Laner12/received_events","type":"User","site_admin":false},"body":"User can save jobs\r\nGuest can start application\r\nUser can start and finalize application\r\nEmployer can add jobs\r\n","created_at":"2016-08-24T20:09:01Z","updated_at":"2016-08-24T20:09:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7998b5fc35d6fceeec84c346da0019b6aff21773","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108/commits","review_comments_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108/comments","review_comment_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/108/comments","statuses_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/statuses/8c8db138f7132ae9892f7a1cd625567c5c807c37","head":{"label":"NicoleKMarino:develop","ref":"develop","sha":"8c8db138f7132ae9892f7a1cd625567c5c807c37","user":{"login":"NicoleKMarino","id":16449672,"avatar_url":"https://avatars.githubusercontent.com/u/16449672?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoleKMarino","html_url":"https://github.com/NicoleKMarino","followers_url":"https://api.github.com/users/NicoleKMarino/followers","following_url":"https://api.github.com/users/NicoleKMarino/following{/other_user}","gists_url":"https://api.github.com/users/NicoleKMarino/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoleKMarino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoleKMarino/subscriptions","organizations_url":"https://api.github.com/users/NicoleKMarino/orgs","repos_url":"https://api.github.com/users/NicoleKMarino/repos","events_url":"https://api.github.com/users/NicoleKMarino/events{/privacy}","received_events_url":"https://api.github.com/users/NicoleKMarino/received_events","type":"User","site_admin":false},"repo":{"id":65752676,"name":"the_pivot","full_name":"NicoleKMarino/the_pivot","owner":{"login":"NicoleKMarino","id":16449672,"avatar_url":"https://avatars.githubusercontent.com/u/16449672?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoleKMarino","html_url":"https://github.com/NicoleKMarino","followers_url":"https://api.github.com/users/NicoleKMarino/followers","following_url":"https://api.github.com/users/NicoleKMarino/following{/other_user}","gists_url":"https://api.github.com/users/NicoleKMarino/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoleKMarino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoleKMarino/subscriptions","organizations_url":"https://api.github.com/users/NicoleKMarino/orgs","repos_url":"https://api.github.com/users/NicoleKMarino/repos","events_url":"https://api.github.com/users/NicoleKMarino/events{/privacy}","received_events_url":"https://api.github.com/users/NicoleKMarino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NicoleKMarino/the_pivot","description":"rails, mvc, PostgreSQL, multi-tenancy, bcrypt  ","fork":false,"url":"https://api.github.com/repos/NicoleKMarino/the_pivot","forks_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/forks","keys_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/teams","hooks_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/events","assignees_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/tags","blobs_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/languages","stargazers_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/subscription","commits_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/merges","archive_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/downloads","issues_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/deployments","created_at":"2016-08-15T17:52:13Z","updated_at":"2016-08-20T01:20:06Z","pushed_at":"2016-08-24T20:09:01Z","git_url":"git://github.com/NicoleKMarino/the_pivot.git","ssh_url":"git@github.com:NicoleKMarino/the_pivot.git","clone_url":"https://github.com/NicoleKMarino/the_pivot.git","svn_url":"https://github.com/NicoleKMarino/the_pivot","homepage":"","size":2820,"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":23,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"base":{"label":"NicoleKMarino:master","ref":"master","sha":"22ea3839a95cc3213834c7353a3bad9b084c0c79","user":{"login":"NicoleKMarino","id":16449672,"avatar_url":"https://avatars.githubusercontent.com/u/16449672?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoleKMarino","html_url":"https://github.com/NicoleKMarino","followers_url":"https://api.github.com/users/NicoleKMarino/followers","following_url":"https://api.github.com/users/NicoleKMarino/following{/other_user}","gists_url":"https://api.github.com/users/NicoleKMarino/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoleKMarino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoleKMarino/subscriptions","organizations_url":"https://api.github.com/users/NicoleKMarino/orgs","repos_url":"https://api.github.com/users/NicoleKMarino/repos","events_url":"https://api.github.com/users/NicoleKMarino/events{/privacy}","received_events_url":"https://api.github.com/users/NicoleKMarino/received_events","type":"User","site_admin":false},"repo":{"id":65752676,"name":"the_pivot","full_name":"NicoleKMarino/the_pivot","owner":{"login":"NicoleKMarino","id":16449672,"avatar_url":"https://avatars.githubusercontent.com/u/16449672?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoleKMarino","html_url":"https://github.com/NicoleKMarino","followers_url":"https://api.github.com/users/NicoleKMarino/followers","following_url":"https://api.github.com/users/NicoleKMarino/following{/other_user}","gists_url":"https://api.github.com/users/NicoleKMarino/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoleKMarino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoleKMarino/subscriptions","organizations_url":"https://api.github.com/users/NicoleKMarino/orgs","repos_url":"https://api.github.com/users/NicoleKMarino/repos","events_url":"https://api.github.com/users/NicoleKMarino/events{/privacy}","received_events_url":"https://api.github.com/users/NicoleKMarino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NicoleKMarino/the_pivot","description":"rails, mvc, PostgreSQL, multi-tenancy, bcrypt  ","fork":false,"url":"https://api.github.com/repos/NicoleKMarino/the_pivot","forks_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/forks","keys_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/teams","hooks_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/events","assignees_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/tags","blobs_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/languages","stargazers_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/subscription","commits_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/merges","archive_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/downloads","issues_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/NicoleKMarino/the_pivot/deployments","created_at":"2016-08-15T17:52:13Z","updated_at":"2016-08-20T01:20:06Z","pushed_at":"2016-08-24T20:09:01Z","git_url":"git://github.com/NicoleKMarino/the_pivot.git","ssh_url":"git@github.com:NicoleKMarino/the_pivot.git","clone_url":"https://github.com/NicoleKMarino/the_pivot.git","svn_url":"https://github.com/NicoleKMarino/the_pivot","homepage":"","size":2820,"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":23,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108"},"html":{"href":"https://github.com/NicoleKMarino/the_pivot/pull/108"},"issue":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/108"},"comments":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/NicoleKMarino/the_pivot/statuses/8c8db138f7132ae9892f7a1cd625567c5c807c37"}}}}
{"actor":{"display_login":"houndci-bot"}}