{"action":"created","comment":{"url":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/comments/24783441","id":24783441,"diff_hunk":"@@ -6,3 +6,9 @@ end\n APP_PATH = File.expand_path('../../config/application', __FILE__)\n require_relative '../config/boot'\n require 'rails/commands'\n+\n+if ENV['RAILS_ENV'] == 'test'\n+  require 'simplecov'","path":"bin/rails","position":6,"original_position":6,"commit_id":"74031af5f6ac2bf10baeefef092d879cfe48a76e","original_commit_id":"74031af5f6ac2bf10baeefef092d879cfe48a76e","user":{"login":"rmw","id":363764,"avatar_url":"https://avatars.githubusercontent.com/u/363764?v=3","gravatar_id":"","url":"https://api.github.com/users/rmw","html_url":"https://github.com/rmw","followers_url":"https://api.github.com/users/rmw/followers","following_url":"https://api.github.com/users/rmw/following{/other_user}","gists_url":"https://api.github.com/users/rmw/gists{/gist_id}","starred_url":"https://api.github.com/users/rmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmw/subscriptions","organizations_url":"https://api.github.com/users/rmw/orgs","repos_url":"https://api.github.com/users/rmw/repos","events_url":"https://api.github.com/users/rmw/events{/privacy}","received_events_url":"https://api.github.com/users/rmw/received_events","type":"User","site_admin":false},"body":"You should be able to put this code in your `rails_helper.rb`.","created_at":"2015-02-16T23:49:00Z","updated_at":"2015-02-16T23:49:00Z","html_url":"https://github.com/rmw/to-catch-a-troll/pull/1#discussion_r24783441","pull_request_url":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/comments/24783441"},"html":{"href":"https://github.com/rmw/to-catch-a-troll/pull/1#discussion_r24783441"},"pull_request":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1","id":29372976,"html_url":"https://github.com/rmw/to-catch-a-troll/pull/1","diff_url":"https://github.com/rmw/to-catch-a-troll/pull/1.diff","patch_url":"https://github.com/rmw/to-catch-a-troll/pull/1.patch","issue_url":"https://api.github.com/repos/rmw/to-catch-a-troll/issues/1","number":1,"state":"open","locked":false,"title":"pull request for demo","user":{"login":"soborok","id":8992722,"avatar_url":"https://avatars.githubusercontent.com/u/8992722?v=3","gravatar_id":"","url":"https://api.github.com/users/soborok","html_url":"https://github.com/soborok","followers_url":"https://api.github.com/users/soborok/followers","following_url":"https://api.github.com/users/soborok/following{/other_user}","gists_url":"https://api.github.com/users/soborok/gists{/gist_id}","starred_url":"https://api.github.com/users/soborok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soborok/subscriptions","organizations_url":"https://api.github.com/users/soborok/orgs","repos_url":"https://api.github.com/users/soborok/repos","events_url":"https://api.github.com/users/soborok/events{/privacy}","received_events_url":"https://api.github.com/users/soborok/received_events","type":"User","site_admin":false},"body":"## Heroku\r\nhttps://to-catch-a-troll.herokuapp.com\r\n\r\n## FEATURES\r\n1. User signup/login\r\n2. Scrape a webpage(s)\r\n3. Search keyword in scraped webpages\r\n\r\n## Readiness for Demos\r\n1. deployed to heroku: user model working, solr tasks yet implemented\r\n2. added/set up links to heroku, github, trello, travis on [wiki](https://github.com/bison-2014/phase-3-guide/wiki/Groups#tocatchatroll)\r\n3. set up travis, simplecov\r\n\r\n## Screenshots\r\n![1_login_form](https://cloud.githubusercontent.com/assets/8992722/6212663/7cb8c908-b5ad-11e4-9ea7-57266cf0b81e.png)\r\n![2_signup_empty](https://cloud.githubusercontent.com/assets/8992722/6212674/942654b6-b5ad-11e4-9540-703acc654f73.png)\r\n![3_singedin_success](https://cloud.githubusercontent.com/assets/8992722/6212675/9429d938-b5ad-11e4-8312-967303cdaca5.png)\r\n![4_search_new](https://cloud.githubusercontent.com/assets/8992722/6212677/942f3e8c-b5ad-11e4-810a-3118d9780d57.png)\r\n![5_search_results1](https://cloud.githubusercontent.com/assets/8992722/6212676/942f2c94-b5ad-11e4-8b03-cda359774ef4.png)\r\n![5_search_results2](https://cloud.githubusercontent.com/assets/8992722/6212678/9432a5fe-b5ad-11e4-94d6-659f0a82a1d1.png)\r\n![6_scraper_list_of_scrapedwebsits](https://cloud.githubusercontent.com/assets/8992722/6212679/9437e686-b5ad-11e4-9171-e4309a3ff37b.png)\r\n![7_scraper_scrape_new](https://cloud.githubusercontent.com/assets/8992722/6212680/943a556a-b5ad-11e4-9dd3-192a8296d3dd.png)\r\n![8_signedout_success](https://cloud.githubusercontent.com/assets/8992722/6212728/01da1880-b5ae-11e4-9509-1c85efb640e2.png)","created_at":"2015-02-16T13:33:16Z","updated_at":"2015-02-16T23:49:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3a507db3146dd6257a2502d729a85d167fa6d2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rmw/to-catch-a-troll/issues/1/comments","statuses_url":"https://api.github.com/repos/rmw/to-catch-a-troll/statuses/74031af5f6ac2bf10baeefef092d879cfe48a76e","head":{"label":"bison-2014:master","ref":"master","sha":"74031af5f6ac2bf10baeefef092d879cfe48a76e","user":{"login":"bison-2014","id":6732231,"avatar_url":"https://avatars.githubusercontent.com/u/6732231?v=3","gravatar_id":"","url":"https://api.github.com/users/bison-2014","html_url":"https://github.com/bison-2014","followers_url":"https://api.github.com/users/bison-2014/followers","following_url":"https://api.github.com/users/bison-2014/following{/other_user}","gists_url":"https://api.github.com/users/bison-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/bison-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bison-2014/subscriptions","organizations_url":"https://api.github.com/users/bison-2014/orgs","repos_url":"https://api.github.com/users/bison-2014/repos","events_url":"https://api.github.com/users/bison-2014/events{/privacy}","received_events_url":"https://api.github.com/users/bison-2014/received_events","type":"Organization","site_admin":false},"repo":{"id":30736811,"name":"to-catch-a-troll","full_name":"bison-2014/to-catch-a-troll","owner":{"login":"bison-2014","id":6732231,"avatar_url":"https://avatars.githubusercontent.com/u/6732231?v=3","gravatar_id":"","url":"https://api.github.com/users/bison-2014","html_url":"https://github.com/bison-2014","followers_url":"https://api.github.com/users/bison-2014/followers","following_url":"https://api.github.com/users/bison-2014/following{/other_user}","gists_url":"https://api.github.com/users/bison-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/bison-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bison-2014/subscriptions","organizations_url":"https://api.github.com/users/bison-2014/orgs","repos_url":"https://api.github.com/users/bison-2014/repos","events_url":"https://api.github.com/users/bison-2014/events{/privacy}","received_events_url":"https://api.github.com/users/bison-2014/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bison-2014/to-catch-a-troll","description":"","fork":false,"url":"https://api.github.com/repos/bison-2014/to-catch-a-troll","forks_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/forks","keys_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/teams","hooks_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/hooks","issue_events_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/issues/events{/number}","events_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/events","assignees_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/assignees{/user}","branches_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/branches{/branch}","tags_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/tags","blobs_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/git/refs{/sha}","trees_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/statuses/{sha}","languages_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/languages","stargazers_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/stargazers","contributors_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/contributors","subscribers_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/subscribers","subscription_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/subscription","commits_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/commits{/sha}","git_commits_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/git/commits{/sha}","comments_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/comments{/number}","issue_comment_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/issues/comments/{number}","contents_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/contents/{+path}","compare_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/merges","archive_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/downloads","issues_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/issues{/number}","pulls_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/pulls{/number}","milestones_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/milestones{/number}","notifications_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/labels{/name}","releases_url":"https://api.github.com/repos/bison-2014/to-catch-a-troll/releases{/id}","created_at":"2015-02-13T02:36:16Z","updated_at":"2015-02-16T22:36:07Z","pushed_at":"2015-02-16T22:36:07Z","git_url":"git://github.com/bison-2014/to-catch-a-troll.git","ssh_url":"git@github.com:bison-2014/to-catch-a-troll.git","clone_url":"https://github.com/bison-2014/to-catch-a-troll.git","svn_url":"https://github.com/bison-2014/to-catch-a-troll","homepage":null,"size":2659,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"rmw:master","ref":"master","sha":"1499dbe407d9ecee97e45622278e088337afef4e","user":{"login":"rmw","id":363764,"avatar_url":"https://avatars.githubusercontent.com/u/363764?v=3","gravatar_id":"","url":"https://api.github.com/users/rmw","html_url":"https://github.com/rmw","followers_url":"https://api.github.com/users/rmw/followers","following_url":"https://api.github.com/users/rmw/following{/other_user}","gists_url":"https://api.github.com/users/rmw/gists{/gist_id}","starred_url":"https://api.github.com/users/rmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmw/subscriptions","organizations_url":"https://api.github.com/users/rmw/orgs","repos_url":"https://api.github.com/users/rmw/repos","events_url":"https://api.github.com/users/rmw/events{/privacy}","received_events_url":"https://api.github.com/users/rmw/received_events","type":"User","site_admin":false},"repo":{"id":30780960,"name":"to-catch-a-troll","full_name":"rmw/to-catch-a-troll","owner":{"login":"rmw","id":363764,"avatar_url":"https://avatars.githubusercontent.com/u/363764?v=3","gravatar_id":"","url":"https://api.github.com/users/rmw","html_url":"https://github.com/rmw","followers_url":"https://api.github.com/users/rmw/followers","following_url":"https://api.github.com/users/rmw/following{/other_user}","gists_url":"https://api.github.com/users/rmw/gists{/gist_id}","starred_url":"https://api.github.com/users/rmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmw/subscriptions","organizations_url":"https://api.github.com/users/rmw/orgs","repos_url":"https://api.github.com/users/rmw/repos","events_url":"https://api.github.com/users/rmw/events{/privacy}","received_events_url":"https://api.github.com/users/rmw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmw/to-catch-a-troll","description":"","fork":true,"url":"https://api.github.com/repos/rmw/to-catch-a-troll","forks_url":"https://api.github.com/repos/rmw/to-catch-a-troll/forks","keys_url":"https://api.github.com/repos/rmw/to-catch-a-troll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmw/to-catch-a-troll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmw/to-catch-a-troll/teams","hooks_url":"https://api.github.com/repos/rmw/to-catch-a-troll/hooks","issue_events_url":"https://api.github.com/repos/rmw/to-catch-a-troll/issues/events{/number}","events_url":"https://api.github.com/repos/rmw/to-catch-a-troll/events","assignees_url":"https://api.github.com/repos/rmw/to-catch-a-troll/assignees{/user}","branches_url":"https://api.github.com/repos/rmw/to-catch-a-troll/branches{/branch}","tags_url":"https://api.github.com/repos/rmw/to-catch-a-troll/tags","blobs_url":"https://api.github.com/repos/rmw/to-catch-a-troll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmw/to-catch-a-troll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmw/to-catch-a-troll/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmw/to-catch-a-troll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmw/to-catch-a-troll/statuses/{sha}","languages_url":"https://api.github.com/repos/rmw/to-catch-a-troll/languages","stargazers_url":"https://api.github.com/repos/rmw/to-catch-a-troll/stargazers","contributors_url":"https://api.github.com/repos/rmw/to-catch-a-troll/contributors","subscribers_url":"https://api.github.com/repos/rmw/to-catch-a-troll/subscribers","subscription_url":"https://api.github.com/repos/rmw/to-catch-a-troll/subscription","commits_url":"https://api.github.com/repos/rmw/to-catch-a-troll/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmw/to-catch-a-troll/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmw/to-catch-a-troll/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmw/to-catch-a-troll/issues/comments/{number}","contents_url":"https://api.github.com/repos/rmw/to-catch-a-troll/contents/{+path}","compare_url":"https://api.github.com/repos/rmw/to-catch-a-troll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmw/to-catch-a-troll/merges","archive_url":"https://api.github.com/repos/rmw/to-catch-a-troll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmw/to-catch-a-troll/downloads","issues_url":"https://api.github.com/repos/rmw/to-catch-a-troll/issues{/number}","pulls_url":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls{/number}","milestones_url":"https://api.github.com/repos/rmw/to-catch-a-troll/milestones{/number}","notifications_url":"https://api.github.com/repos/rmw/to-catch-a-troll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmw/to-catch-a-troll/labels{/name}","releases_url":"https://api.github.com/repos/rmw/to-catch-a-troll/releases{/id}","created_at":"2015-02-13T23:33:51Z","updated_at":"2015-02-13T23:33:51Z","pushed_at":"2015-02-13T21:06:02Z","git_url":"git://github.com/rmw/to-catch-a-troll.git","ssh_url":"git@github.com:rmw/to-catch-a-troll.git","clone_url":"https://github.com/rmw/to-catch-a-troll.git","svn_url":"https://github.com/rmw/to-catch-a-troll","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1"},"html":{"href":"https://github.com/rmw/to-catch-a-troll/pull/1"},"issue":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/issues/1"},"comments":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rmw/to-catch-a-troll/statuses/74031af5f6ac2bf10baeefef092d879cfe48a76e"}}}}