{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/65008117","id":65008117,"diff_hunk":"@@ -0,0 +1,82 @@\n+# This file is copied to spec/ when you run 'rails generate rspec:install'\n+ENV['RAILS_ENV'] ||= 'test'\n+require File.expand_path('../../config/environment', __FILE__)\n+# Prevent database truncation if the environment is production\n+abort(\"The Rails environment is running in production mode!\") if Rails.env.production?\n+require 'spec_helper'\n+require 'rspec/rails'\n+require 'capybara/rails'\n+require 'capybara/poltergeist'\n+Capybara.javascript_driver = :poltergeist\n+# require 'support/database_cleaner'\n+# Add additional requires below this line. Rails is not loaded until this point!\n+\n+# Requires supporting ruby files with custom matchers and macros, etc, in\n+# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are\n+# run as spec files by default. This means that files in spec/support that end\n+# in _spec.rb will both be required and run as specs, causing the specs to be\n+# run twice. It is recommended that you do not name files matching this glob to\n+# end with _spec.rb. You can configure this pattern with the --pattern\n+# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.\n+#\n+# The following line is provided for convenience purposes. It has the downside\n+# of increasing the boot-up time by auto-requiring all files in the support\n+# directory. Alternatively, in the individual `*_spec.rb` files, manually\n+# require only the support files necessary.\n+#\n+# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }\n+\n+# Checks for pending migration and applies them before tests are run.\n+# If you are not using ActiveRecord, you can remove this line.\n+ActiveRecord::Migration.maintain_test_schema!\n+\n+RSpec.configure do |config|\n+\n+  config.before(:suite) do\n+    DatabaseCleaner.clean_with(:truncation)\n+  end\n+\n+  config.before(:each) do\n+    DatabaseCleaner.strategy = :transaction\n+  end\n+\n+  config.before(:each, :js => true) do","path":"spec/rails_helper.rb","position":43,"original_position":43,"commit_id":"cf851fafe753358e406e6a3c307c86b37f924893","original_commit_id":"cf851fafe753358e406e6a3c307c86b37f924893","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":"Style/HashSyntax: Use the new Ruby 1.9 hash syntax. (https://github.com/bbatsov/ruby-style-guide#hash-literals)","created_at":"2016-05-29T17:02:08Z","updated_at":"2016-05-29T17:02:08Z","html_url":"https://github.com/makersacademy/instagram-challenge/pull/234#discussion_r65008117","pull_request_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments/65008117"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/234#discussion_r65008117"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234","id":71832125,"html_url":"https://github.com/makersacademy/instagram-challenge/pull/234","diff_url":"https://github.com/makersacademy/instagram-challenge/pull/234.diff","patch_url":"https://github.com/makersacademy/instagram-challenge/pull/234.patch","issue_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/234","number":234,"state":"open","locked":false,"title":"Instagram","user":{"login":"HannaEb","id":16903939,"avatar_url":"https://avatars.githubusercontent.com/u/16903939?v=3","gravatar_id":"","url":"https://api.github.com/users/HannaEb","html_url":"https://github.com/HannaEb","followers_url":"https://api.github.com/users/HannaEb/followers","following_url":"https://api.github.com/users/HannaEb/following{/other_user}","gists_url":"https://api.github.com/users/HannaEb/gists{/gist_id}","starred_url":"https://api.github.com/users/HannaEb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HannaEb/subscriptions","organizations_url":"https://api.github.com/users/HannaEb/orgs","repos_url":"https://api.github.com/users/HannaEb/repos","events_url":"https://api.github.com/users/HannaEb/events{/privacy}","received_events_url":"https://api.github.com/users/HannaEb/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-29T17:01:46Z","updated_at":"2016-05-29T17:02:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4d42ae9863665372d8384ec065f35755c3141ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234/commits","review_comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234/comments","review_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/234/comments","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/cf851fafe753358e406e6a3c307c86b37f924893","head":{"label":"HannaEb:master","ref":"master","sha":"cf851fafe753358e406e6a3c307c86b37f924893","user":{"login":"HannaEb","id":16903939,"avatar_url":"https://avatars.githubusercontent.com/u/16903939?v=3","gravatar_id":"","url":"https://api.github.com/users/HannaEb","html_url":"https://github.com/HannaEb","followers_url":"https://api.github.com/users/HannaEb/followers","following_url":"https://api.github.com/users/HannaEb/following{/other_user}","gists_url":"https://api.github.com/users/HannaEb/gists{/gist_id}","starred_url":"https://api.github.com/users/HannaEb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HannaEb/subscriptions","organizations_url":"https://api.github.com/users/HannaEb/orgs","repos_url":"https://api.github.com/users/HannaEb/repos","events_url":"https://api.github.com/users/HannaEb/events{/privacy}","received_events_url":"https://api.github.com/users/HannaEb/received_events","type":"User","site_admin":false},"repo":{"id":59890644,"name":"instagram-challenge","full_name":"HannaEb/instagram-challenge","owner":{"login":"HannaEb","id":16903939,"avatar_url":"https://avatars.githubusercontent.com/u/16903939?v=3","gravatar_id":"","url":"https://api.github.com/users/HannaEb","html_url":"https://github.com/HannaEb","followers_url":"https://api.github.com/users/HannaEb/followers","following_url":"https://api.github.com/users/HannaEb/following{/other_user}","gists_url":"https://api.github.com/users/HannaEb/gists{/gist_id}","starred_url":"https://api.github.com/users/HannaEb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HannaEb/subscriptions","organizations_url":"https://api.github.com/users/HannaEb/orgs","repos_url":"https://api.github.com/users/HannaEb/repos","events_url":"https://api.github.com/users/HannaEb/events{/privacy}","received_events_url":"https://api.github.com/users/HannaEb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HannaEb/instagram-challenge","description":"Rebuild Instagram","fork":true,"url":"https://api.github.com/repos/HannaEb/instagram-challenge","forks_url":"https://api.github.com/repos/HannaEb/instagram-challenge/forks","keys_url":"https://api.github.com/repos/HannaEb/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HannaEb/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HannaEb/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/HannaEb/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/HannaEb/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/HannaEb/instagram-challenge/events","assignees_url":"https://api.github.com/repos/HannaEb/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/HannaEb/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/HannaEb/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/HannaEb/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HannaEb/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HannaEb/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/HannaEb/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HannaEb/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/HannaEb/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/HannaEb/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/HannaEb/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/HannaEb/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/HannaEb/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/HannaEb/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/HannaEb/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/HannaEb/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/HannaEb/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/HannaEb/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/HannaEb/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HannaEb/instagram-challenge/merges","archive_url":"https://api.github.com/repos/HannaEb/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HannaEb/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/HannaEb/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/HannaEb/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/HannaEb/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/HannaEb/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HannaEb/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/HannaEb/instagram-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/HannaEb/instagram-challenge/deployments","created_at":"2016-05-28T11:06:06Z","updated_at":"2016-05-28T16:07:37Z","pushed_at":"2016-05-29T17:00:17Z","git_url":"git://github.com/HannaEb/instagram-challenge.git","ssh_url":"git@github.com:HannaEb/instagram-challenge.git","clone_url":"https://github.com/HannaEb/instagram-challenge.git","svn_url":"https://github.com/HannaEb/instagram-challenge","homepage":null,"size":5785,"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":"57acde783cfccc7b213b483346a8592d631d83fe","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":27006364,"name":"instagram-challenge","full_name":"makersacademy/instagram-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/instagram-challenge","description":"Rebuild Instagram","fork":false,"url":"https://api.github.com/repos/makersacademy/instagram-challenge","forks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/instagram-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/instagram-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/instagram-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/instagram-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/instagram-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/instagram-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/instagram-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/instagram-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/instagram-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/instagram-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/instagram-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/instagram-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/instagram-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/instagram-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/instagram-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/instagram-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/instagram-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/instagram-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/instagram-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/instagram-challenge/deployments","created_at":"2014-11-22T17:26:37Z","updated_at":"2016-03-04T17:15:00Z","pushed_at":"2016-05-29T17:01:46Z","git_url":"git://github.com/makersacademy/instagram-challenge.git","ssh_url":"git@github.com:makersacademy/instagram-challenge.git","clone_url":"https://github.com/makersacademy/instagram-challenge.git","svn_url":"https://github.com/makersacademy/instagram-challenge","homepage":null,"size":515125,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":306,"mirror_url":null,"open_issues_count":71,"forks":306,"open_issues":71,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234"},"html":{"href":"https://github.com/makersacademy/instagram-challenge/pull/234"},"issue":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/234"},"comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/issues/234/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/pulls/234/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/instagram-challenge/statuses/cf851fafe753358e406e6a3c307c86b37f924893"}}}}
{"actor":{"display_login":"houndci-bot"}}