Skip to content

Commit

Permalink
Omniauth hash for Twitter (#2961)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthBansal authored and jywarren committed Jul 1, 2018
1 parent f5fd6ea commit 6ca4563
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,32 @@
'email' => 'emila.buffet309@gmail.com'
}
})



#twitter Provider
OmniAuth.config.mock_auth[:twitter1] = OmniAuth::AuthHash.new({
'provider' => 'twitter',
'uid' => '135798079602',
'info' => {
'name' => 'sidharth bansal',
'email' => 'bansal.sidharth309@gmail.com'
}
})

OmniAuth.config.mock_auth[:twitter2] = OmniAuth::AuthHash.new({
'provider' => 'twitter',
'uid' => '137898009602',
'info' => {
'name' => 'jeffrey',
'email' => 'jeff@pxlshp.com'
}
})

OmniAuth.config.mock_auth[:twitter3] = OmniAuth::AuthHash.new({
'provider' => 'twitter',
'uid' => '135689602',
'info' => {
'name' => 'emila buffet',
'email' => 'emila.buffet309@gmail.com'
}
})

end

0 comments on commit 6ca4563

Please sign in to comment.