GitHub PullRequestReviewCommentEvent at 2014-04-16 04:54:17
Repository: portfolio
Actor: houndci
Payload: {"comment":{"url":"https://api.github.com/repos/codefellows/portfolio/pulls/comments/11669880","id":11669880,"diff_hunk":"@@ -26,4 +29,16 @@ def sign_in(role = :editor)\n     click_on \"Sign in\"\n   end\n \n+  def sign_in_a_twitter_user\n+    OmniAuth.config.test_mode = true\n+    Capybara.current_session.driver.request.env['devise.mapping'] = Devise.mappings[:user]\n+    Capybara.current_session.driver.request.env['omniauth.auth'] = OmniAuth.config.mock_auth[:twitter]\n+    OmniAuth.config.add_mock(:twitter,\n+                            {\n+                            uid: '12345',\n+                            info: { nickname: 'test_twitter_user'},\n+                            })\n+    click_on \"Sign in with Twitter\"","path":"test/test_helper.rb","position":26,"original_position":26,"commit_id":"d2721b036475270a27c750c27ef5c86fd7d5118c","original_commit_id":"d2721b036475270a27c750c27ef5c86fd7d5118c","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","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":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2014-04-16T04:54:17Z","updated_at":"2014-04-16T04:54:17Z","html_url":"https://github.com/codefellows/portfolio/pull/1#discussion_r11669880","pull_request_url":"https://api.github.com/repos/codefellows/portfolio/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/codefellows/portfolio/pulls/comments/11669880"},"html":{"href":"https://github.com/codefellows/portfolio/pull/1#discussion_r11669880"},"pull_request":{"href":"https://api.github.com/repos/codefellows/portfolio/pulls/1"}}}}