4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# File 'lib/rspectacular/mock_authentications/omniauth/twitter.rb', line 4
def self.authentication
OmniAuth::AuthHash.new(
'provider' => 'twitter',
'uid' => '100002971692646',
'credentials' => {
'token' => 'my_twitter_token',
},
'info' => {
'name' => 'Sharon Letuchysky',
'email' => nil,
'nickname' => nil,
'first_name' => 'Sharon',
'last_name' => 'Letuchysky',
'location' => nil,
'description' => nil,
'image' => 'http://graph.facebook.com/100002971692646/picture?type=square',
'phone' => nil,
'urls' => {
'Facebook' => 'http://www.facebook.com/profile.php?id=100002971692646',
'Website' => nil,
},
},
'extra' => {
'user_hash' => {
'id' => '100002971692646',
'name' => 'Sharon Ambiggjcaccg Letuchysky',
'first_name' => 'Sharon',
'middle_name' => 'Ambiggjcaccg',
'last_name' => 'Letuchysky',
'link' => 'http://www.facebook.com/profile.php?id=100002971692646',
'gender' => 'female',
'locale' => 'en_US',
'updated_time' => '2011-09-11T17:00:51+0000',
},
},
)
end
|