{"action":"created","comment":{"url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/comments/77648096","id":77648096,"diff_hunk":"@@ -1,92 +1,35 @@\n-# This file was generated by the `rails generate rspec:install` 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+require_relative 'support/sign_in_helper.rb'\n+include UserSignIn\n+require 'capybara'\n+require 'omniauth-google-oauth2'\n+\n RSpec.configure do |config|\n-  # rspec-expectations config goes here. You can use an alternate\n-  # assertion/expectation library such as wrong or the stdlib/minitest\n-  # assertions if you prefer.\n+\n   config.expect_with :rspec do |expectations|\n-    # This option will default to `true` in RSpec 4. It makes the `description`\n-    # and `failure_message` of custom matchers include text for helper methods\n-    # defined using `chain`, e.g.:\n-    #     be_bigger_than(2).and_smaller_than(4).description\n-    #     # => \"be bigger than 2 and smaller than 4\"\n-    # ...rather than:\n-    #     # => \"be bigger than 2\"\n     expectations.include_chain_clauses_in_custom_matcher_descriptions = true\n   end\n \n-  # rspec-mocks config goes here. You can use an alternate test double\n-  # library (such as bogus or mocha) by changing the `mock_with` option here.\n   config.mock_with :rspec do |mocks|\n-    # Prevents you from mocking or stubbing a method that does not exist on\n-    # a real object. This is generally recommended, and will default to\n-    # `true` in RSpec 4.\n     mocks.verify_partial_doubles = true\n   end\n-\n-# The settings below are suggested to provide a good initial experience\n-# with RSpec, but feel free to customize to your heart's content.\n-=begin\n-  # These two settings work together to allow you to limit a spec run\n-  # to individual examples or groups you care about by tagging them with\n-  # `:focus` metadata. When nothing is tagged with `:focus`, all examples\n-  # get run.\n-  config.filter_run :focus\n-  config.run_all_when_everything_filtered = true\n-\n-  # Allows RSpec to persist some state between runs in order to support\n-  # the `--only-failures` and `--next-failure` CLI options. We recommend\n-  # you configure your source control system to ignore this file.\n-  config.example_status_persistence_file_path = \"spec/examples.txt\"\n-\n-  # Limits the available syntax to the non-monkey patched syntax that is\n-  # recommended. For more details, see:\n-  #   - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/\n-  #   - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/\n-  #   - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode\n-  config.disable_monkey_patching!\n-\n-  # Many RSpec users commonly either run the entire suite or an individual\n-  # file, and it's useful to allow more verbose output when running an\n-  # individual spec file.\n-  if config.files_to_run.one?\n-    # Use the documentation formatter for detailed output,\n-    # unless a formatter has already been configured\n-    # (e.g. via a command-line flag).\n-    config.default_formatter = 'doc'\n-  end\n-\n-  # Print the 10 slowest examples and example groups at the\n-  # end of the spec run, to help surface which specs are running\n-  # particularly slow.\n-  config.profile_examples = 10\n-\n-  # Run specs in random order to surface order dependencies. If you find an\n-  # order dependency and want to debug it, you can fix the order by providing\n-  # the seed, which is printed after each run.\n-  #     --seed 1234\n-  config.order = :random\n-\n-  # Seed global randomization in this process using the `--seed` CLI option.\n-  # Setting this allows you to use `--seed` to deterministically reproduce\n-  # test failures related to randomization by passing the same `--seed` value\n-  # as the one that triggered the failure.\n-  Kernel.srand config.seed\n-=end\n end\n+\n+Capybara.default_host = 'http://localhost:3000'\n+\n+OmniAuth.config.test_mode = true\n+OmniAuth.config.mock_auth[:google_oauth2] = OmniAuth::AuthHash.new({\n+  :provider => 'google',\n+  :uid => '123545',\n+  :info => {\n+      \"name\"=>\"Luke Skywalker\",\n+      \"email\"=>\"luke@raizlabs.com\",\n+      \"first_name\"=>\"Luke\",\n+      \"last_name\"=>\"Skywalker\",\n+      \"image\"=>\"http://user.to.users.gmail.image/photo.jpg\"\n+    },\n+  :credentials=> {\n+    \"token\"=>\"ya29.CjFSA395O1kQPCS-yHx5797n4Ip_k00kJ-nn2t13OiXgZZ0WC5qJT\",\n+    \"expires_at\"=>1472837410,\n+     \"expires\"=>true","path":"spec/spec_helper.rb","position":116,"original_position":116,"commit_id":"f04f13ebcbeff744547c47e900063c8d8a35c666","original_commit_id":"f04f13ebcbeff744547c47e900063c8d8a35c666","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":"Align the elements of a hash literal if they span more than one line.<br>Surrounding space missing for operator =>.","created_at":"2016-09-06T14:39:31Z","updated_at":"2016-09-06T14:39:31Z","html_url":"https://github.com/EliseFitz15/hyperdrive/pull/1#discussion_r77648096","pull_request_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/comments/77648096"},"html":{"href":"https://github.com/EliseFitz15/hyperdrive/pull/1#discussion_r77648096"},"pull_request":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1","id":84132484,"html_url":"https://github.com/EliseFitz15/hyperdrive/pull/1","diff_url":"https://github.com/EliseFitz15/hyperdrive/pull/1.diff","patch_url":"https://github.com/EliseFitz15/hyperdrive/pull/1.patch","issue_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/1","number":1,"state":"open","locked":false,"title":"Adds google auth2","user":{"login":"EliseFitz15","id":10551597,"avatar_url":"https://avatars.githubusercontent.com/u/10551597?v=3","gravatar_id":"","url":"https://api.github.com/users/EliseFitz15","html_url":"https://github.com/EliseFitz15","followers_url":"https://api.github.com/users/EliseFitz15/followers","following_url":"https://api.github.com/users/EliseFitz15/following{/other_user}","gists_url":"https://api.github.com/users/EliseFitz15/gists{/gist_id}","starred_url":"https://api.github.com/users/EliseFitz15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliseFitz15/subscriptions","organizations_url":"https://api.github.com/users/EliseFitz15/orgs","repos_url":"https://api.github.com/users/EliseFitz15/repos","events_url":"https://api.github.com/users/EliseFitz15/events{/privacy}","received_events_url":"https://api.github.com/users/EliseFitz15/received_events","type":"User","site_admin":false},"body":"### Summary \r\n- Adds Omniauth with Gmail (sign in / sign out)\r\n- Validates for @raizlabs.com address\r\n- Includes tests for login and directs to user profile page\r\n\r\n![alt](http://g.recordit.co/d9Hy2aDjm0.gif)\r\n\r\nValidation\r\n![alt](http://g.recordit.co/ly5G4Ey5GC.gif)","created_at":"2016-09-06T14:27:35Z","updated_at":"2016-09-06T14:39:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a26fec6b22924e484b93b602f2f912a742a8b8e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1/commits","review_comments_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1/comments","review_comment_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/1/comments","statuses_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/statuses/f04f13ebcbeff744547c47e900063c8d8a35c666","head":{"label":"EliseFitz15:adds-google-auth2","ref":"adds-google-auth2","sha":"f04f13ebcbeff744547c47e900063c8d8a35c666","user":{"login":"EliseFitz15","id":10551597,"avatar_url":"https://avatars.githubusercontent.com/u/10551597?v=3","gravatar_id":"","url":"https://api.github.com/users/EliseFitz15","html_url":"https://github.com/EliseFitz15","followers_url":"https://api.github.com/users/EliseFitz15/followers","following_url":"https://api.github.com/users/EliseFitz15/following{/other_user}","gists_url":"https://api.github.com/users/EliseFitz15/gists{/gist_id}","starred_url":"https://api.github.com/users/EliseFitz15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliseFitz15/subscriptions","organizations_url":"https://api.github.com/users/EliseFitz15/orgs","repos_url":"https://api.github.com/users/EliseFitz15/repos","events_url":"https://api.github.com/users/EliseFitz15/events{/privacy}","received_events_url":"https://api.github.com/users/EliseFitz15/received_events","type":"User","site_admin":false},"repo":{"id":64505603,"name":"hyperdrive","full_name":"EliseFitz15/hyperdrive","owner":{"login":"EliseFitz15","id":10551597,"avatar_url":"https://avatars.githubusercontent.com/u/10551597?v=3","gravatar_id":"","url":"https://api.github.com/users/EliseFitz15","html_url":"https://github.com/EliseFitz15","followers_url":"https://api.github.com/users/EliseFitz15/followers","following_url":"https://api.github.com/users/EliseFitz15/following{/other_user}","gists_url":"https://api.github.com/users/EliseFitz15/gists{/gist_id}","starred_url":"https://api.github.com/users/EliseFitz15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliseFitz15/subscriptions","organizations_url":"https://api.github.com/users/EliseFitz15/orgs","repos_url":"https://api.github.com/users/EliseFitz15/repos","events_url":"https://api.github.com/users/EliseFitz15/events{/privacy}","received_events_url":"https://api.github.com/users/EliseFitz15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EliseFitz15/hyperdrive","description":null,"fork":false,"url":"https://api.github.com/repos/EliseFitz15/hyperdrive","forks_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/forks","keys_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/teams","hooks_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/hooks","issue_events_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/events{/number}","events_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/events","assignees_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/assignees{/user}","branches_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/branches{/branch}","tags_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/tags","blobs_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/refs{/sha}","trees_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/statuses/{sha}","languages_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/languages","stargazers_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/stargazers","contributors_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/contributors","subscribers_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/subscribers","subscription_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/subscription","commits_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/commits{/sha}","git_commits_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/commits{/sha}","comments_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/comments{/number}","issue_comment_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/comments{/number}","contents_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/contents/{+path}","compare_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/merges","archive_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/downloads","issues_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues{/number}","pulls_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls{/number}","milestones_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/milestones{/number}","notifications_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/labels{/name}","releases_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/releases{/id}","deployments_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/deployments","created_at":"2016-07-29T19:30:59Z","updated_at":"2016-07-29T19:31:20Z","pushed_at":"2016-09-06T14:39:14Z","git_url":"git://github.com/EliseFitz15/hyperdrive.git","ssh_url":"git@github.com:EliseFitz15/hyperdrive.git","clone_url":"https://github.com/EliseFitz15/hyperdrive.git","svn_url":"https://github.com/EliseFitz15/hyperdrive","homepage":null,"size":1945,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"EliseFitz15:master","ref":"master","sha":"52e9ba4d9db2f7ea9de1f73b4891d2ea42beecee","user":{"login":"EliseFitz15","id":10551597,"avatar_url":"https://avatars.githubusercontent.com/u/10551597?v=3","gravatar_id":"","url":"https://api.github.com/users/EliseFitz15","html_url":"https://github.com/EliseFitz15","followers_url":"https://api.github.com/users/EliseFitz15/followers","following_url":"https://api.github.com/users/EliseFitz15/following{/other_user}","gists_url":"https://api.github.com/users/EliseFitz15/gists{/gist_id}","starred_url":"https://api.github.com/users/EliseFitz15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliseFitz15/subscriptions","organizations_url":"https://api.github.com/users/EliseFitz15/orgs","repos_url":"https://api.github.com/users/EliseFitz15/repos","events_url":"https://api.github.com/users/EliseFitz15/events{/privacy}","received_events_url":"https://api.github.com/users/EliseFitz15/received_events","type":"User","site_admin":false},"repo":{"id":64505603,"name":"hyperdrive","full_name":"EliseFitz15/hyperdrive","owner":{"login":"EliseFitz15","id":10551597,"avatar_url":"https://avatars.githubusercontent.com/u/10551597?v=3","gravatar_id":"","url":"https://api.github.com/users/EliseFitz15","html_url":"https://github.com/EliseFitz15","followers_url":"https://api.github.com/users/EliseFitz15/followers","following_url":"https://api.github.com/users/EliseFitz15/following{/other_user}","gists_url":"https://api.github.com/users/EliseFitz15/gists{/gist_id}","starred_url":"https://api.github.com/users/EliseFitz15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliseFitz15/subscriptions","organizations_url":"https://api.github.com/users/EliseFitz15/orgs","repos_url":"https://api.github.com/users/EliseFitz15/repos","events_url":"https://api.github.com/users/EliseFitz15/events{/privacy}","received_events_url":"https://api.github.com/users/EliseFitz15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EliseFitz15/hyperdrive","description":null,"fork":false,"url":"https://api.github.com/repos/EliseFitz15/hyperdrive","forks_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/forks","keys_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/teams","hooks_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/hooks","issue_events_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/events{/number}","events_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/events","assignees_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/assignees{/user}","branches_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/branches{/branch}","tags_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/tags","blobs_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/refs{/sha}","trees_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/statuses/{sha}","languages_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/languages","stargazers_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/stargazers","contributors_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/contributors","subscribers_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/subscribers","subscription_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/subscription","commits_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/commits{/sha}","git_commits_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/git/commits{/sha}","comments_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/comments{/number}","issue_comment_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/comments{/number}","contents_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/contents/{+path}","compare_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/merges","archive_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/downloads","issues_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues{/number}","pulls_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls{/number}","milestones_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/milestones{/number}","notifications_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/labels{/name}","releases_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/releases{/id}","deployments_url":"https://api.github.com/repos/EliseFitz15/hyperdrive/deployments","created_at":"2016-07-29T19:30:59Z","updated_at":"2016-07-29T19:31:20Z","pushed_at":"2016-09-06T14:39:14Z","git_url":"git://github.com/EliseFitz15/hyperdrive.git","ssh_url":"git@github.com:EliseFitz15/hyperdrive.git","clone_url":"https://github.com/EliseFitz15/hyperdrive.git","svn_url":"https://github.com/EliseFitz15/hyperdrive","homepage":null,"size":1945,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1"},"html":{"href":"https://github.com/EliseFitz15/hyperdrive/pull/1"},"issue":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/1"},"comments":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/EliseFitz15/hyperdrive/statuses/f04f13ebcbeff744547c47e900063c8d8a35c666"}}}}
{"actor":{"display_login":"houndci-bot"}}