{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/33908928","id":33908928,"diff_hunk":"@@ -1,8 +1,132 @@\n-require 'coveralls'\n-require 'simplecov'\n-\n-SimpleCov.formatters = [\n-  SimpleCov::Formatter::HTMLFormatter,\n-  Coveralls::SimpleCov::Formatter\n-]\n-Coveralls.wear!\n+# require 'coveralls'\n+# require 'simplecov'\n+\n+# SimpleCov.formatters = [\n+#   SimpleCov::Formatter::HTMLFormatter,\n+#   Coveralls::SimpleCov::Formatter\n+# ]\n+# Coveralls.wear!\n+ENV['RACK_ENV'] = 'test'\n+require File.join(File.dirname(__FILE__), '..', 'app/app.rb')\n+require 'capybara/rspec'\n+require 'capybara'\n+require 'rspec'\n+require './app/data_mapper_setup'\n+require 'sinatra/flash'\n+# require './spec/factories/user'\n+require 'database_cleaner'\n+\n+\n+# require './app/app'\n+\n+Capybara.app = Chitterchallenge\n+\n+# This file was generated by the `rspec --init` command. Conventionally, all\n+# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.\n+# The generated `.rspec` file contains `--require spec_helper` which will cause\n+# this file to always be loaded, without a need to explicitly require it in any\n+# files.\n+#\n+# Given that it is always loaded, you are encouraged to keep this file as\n+# light-weight as possible. Requiring heavyweight dependencies from this file\n+# will add to the boot time of your test suite on EVERY test run, even for an\n+# individual file that may not need all of that loaded. Instead, consider making\n+# a separate helper file that requires the additional dependencies and performs\n+# the additional setup, and require it from the spec files that actually need\n+# it.\n+#\n+# The `.rspec` file also contains a few flags that are not defaults but that\n+# users commonly want.\n+#\n+# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration\n+RSpec.configure do |config|\n+  # config.include FactoryGirl::Syntax::Methods\n+\n+config.before(:suite) do\n+ DatabaseCleaner.strategy = :transaction","path":"spec/spec_helper.rb","position":54,"original_position":54,"commit_id":"d10876fd60ae97c5538ccc51115ee82991b1ba70","original_commit_id":"d10876fd60ae97c5538ccc51115ee82991b1ba70","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":"Use 2 (not 1) spaces for indentation.","created_at":"2015-07-06T06:41:01Z","updated_at":"2015-07-06T06:41:01Z","html_url":"https://github.com/makersacademy/chitter-challenge/pull/83#discussion_r33908928","pull_request_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments/33908928"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/83#discussion_r33908928"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83","id":39239562,"html_url":"https://github.com/makersacademy/chitter-challenge/pull/83","diff_url":"https://github.com/makersacademy/chitter-challenge/pull/83.diff","patch_url":"https://github.com/makersacademy/chitter-challenge/pull/83.patch","issue_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/83","number":83,"state":"open","locked":false,"title":"Mohamed. My chitter-challenge.","user":{"login":"minhajraz","id":12402337,"avatar_url":"https://avatars.githubusercontent.com/u/12402337?v=3","gravatar_id":"","url":"https://api.github.com/users/minhajraz","html_url":"https://github.com/minhajraz","followers_url":"https://api.github.com/users/minhajraz/followers","following_url":"https://api.github.com/users/minhajraz/following{/other_user}","gists_url":"https://api.github.com/users/minhajraz/gists{/gist_id}","starred_url":"https://api.github.com/users/minhajraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhajraz/subscriptions","organizations_url":"https://api.github.com/users/minhajraz/orgs","repos_url":"https://api.github.com/users/minhajraz/repos","events_url":"https://api.github.com/users/minhajraz/events{/privacy}","received_events_url":"https://api.github.com/users/minhajraz/received_events","type":"User","site_admin":false},"body":"finished as much as I could. It is generally working ok but needs some fine tunings.","created_at":"2015-07-06T06:40:54Z","updated_at":"2015-07-06T06:41:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c8e42559abdbef9c30a930f50bc28c4a47057eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83/commits","review_comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83/comments","review_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/83/comments","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/d10876fd60ae97c5538ccc51115ee82991b1ba70","head":{"label":"minhajraz:master","ref":"master","sha":"d10876fd60ae97c5538ccc51115ee82991b1ba70","user":{"login":"minhajraz","id":12402337,"avatar_url":"https://avatars.githubusercontent.com/u/12402337?v=3","gravatar_id":"","url":"https://api.github.com/users/minhajraz","html_url":"https://github.com/minhajraz","followers_url":"https://api.github.com/users/minhajraz/followers","following_url":"https://api.github.com/users/minhajraz/following{/other_user}","gists_url":"https://api.github.com/users/minhajraz/gists{/gist_id}","starred_url":"https://api.github.com/users/minhajraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhajraz/subscriptions","organizations_url":"https://api.github.com/users/minhajraz/orgs","repos_url":"https://api.github.com/users/minhajraz/repos","events_url":"https://api.github.com/users/minhajraz/events{/privacy}","received_events_url":"https://api.github.com/users/minhajraz/received_events","type":"User","site_admin":false},"repo":{"id":38503409,"name":"chitter-challenge","full_name":"minhajraz/chitter-challenge","owner":{"login":"minhajraz","id":12402337,"avatar_url":"https://avatars.githubusercontent.com/u/12402337?v=3","gravatar_id":"","url":"https://api.github.com/users/minhajraz","html_url":"https://github.com/minhajraz","followers_url":"https://api.github.com/users/minhajraz/followers","following_url":"https://api.github.com/users/minhajraz/following{/other_user}","gists_url":"https://api.github.com/users/minhajraz/gists{/gist_id}","starred_url":"https://api.github.com/users/minhajraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhajraz/subscriptions","organizations_url":"https://api.github.com/users/minhajraz/orgs","repos_url":"https://api.github.com/users/minhajraz/repos","events_url":"https://api.github.com/users/minhajraz/events{/privacy}","received_events_url":"https://api.github.com/users/minhajraz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minhajraz/chitter-challenge","description":"Build a Twitter Clone!","fork":true,"url":"https://api.github.com/repos/minhajraz/chitter-challenge","forks_url":"https://api.github.com/repos/minhajraz/chitter-challenge/forks","keys_url":"https://api.github.com/repos/minhajraz/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minhajraz/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minhajraz/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/minhajraz/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/minhajraz/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/minhajraz/chitter-challenge/events","assignees_url":"https://api.github.com/repos/minhajraz/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/minhajraz/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/minhajraz/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/minhajraz/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minhajraz/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minhajraz/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/minhajraz/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minhajraz/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/minhajraz/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/minhajraz/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/minhajraz/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/minhajraz/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/minhajraz/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/minhajraz/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/minhajraz/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/minhajraz/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/minhajraz/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/minhajraz/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/minhajraz/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minhajraz/chitter-challenge/merges","archive_url":"https://api.github.com/repos/minhajraz/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minhajraz/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/minhajraz/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/minhajraz/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/minhajraz/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/minhajraz/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minhajraz/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/minhajraz/chitter-challenge/releases{/id}","created_at":"2015-07-03T17:19:15Z","updated_at":"2015-07-03T17:19:15Z","pushed_at":"2015-07-06T06:38:34Z","git_url":"git://github.com/minhajraz/chitter-challenge.git","ssh_url":"git@github.com:minhajraz/chitter-challenge.git","clone_url":"https://github.com/minhajraz/chitter-challenge.git","svn_url":"https://github.com/minhajraz/chitter-challenge","homepage":null,"size":22365,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"e5089a84bb003abe0af9486b5270dcd2f8d1b964","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":26954706,"name":"chitter-challenge","full_name":"makersacademy/chitter-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/chitter-challenge","description":"Build a Twitter Clone!","fork":false,"url":"https://api.github.com/repos/makersacademy/chitter-challenge","forks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/chitter-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/chitter-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/chitter-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/chitter-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/chitter-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/chitter-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/chitter-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/chitter-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/chitter-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/chitter-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/chitter-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/chitter-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/chitter-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/chitter-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/chitter-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/chitter-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/chitter-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/chitter-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/chitter-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/chitter-challenge/releases{/id}","created_at":"2014-11-21T09:53:31Z","updated_at":"2015-04-10T05:48:20Z","pushed_at":"2015-07-06T06:40:55Z","git_url":"git://github.com/makersacademy/chitter-challenge.git","ssh_url":"git@github.com:makersacademy/chitter-challenge.git","clone_url":"https://github.com/makersacademy/chitter-challenge.git","svn_url":"https://github.com/makersacademy/chitter-challenge","homepage":null,"size":21766,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":13,"forks":97,"open_issues":13,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83"},"html":{"href":"https://github.com/makersacademy/chitter-challenge/pull/83"},"issue":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/83"},"comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/chitter-challenge/statuses/d10876fd60ae97c5538ccc51115ee82991b1ba70"}}}}