Sha256: b6530f0e70d34cb7ce4225fdc8c8fa559ed83e72bff10152bb4bc94437147d76

Contents?: true

Size: 1.32 KB

Versions: 17

Compression:

Stored size: 1.32 KB

Contents

module  OmniAuth
module  MockAuthentications
module  Facebook
  def self.authentication
    OmniAuth::AuthHash.new(
      'provider'    => 'facebook',
      'uid'         => '100002971692646',
      'credentials' => {
        'token' => 'my_facebook_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
end
end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rspectacular-0.70.8 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.7 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.6 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.5 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.4 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.3 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.2 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.1 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.70.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.69.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.68.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.67.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.66.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.65.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.64.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.63.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.62.1 lib/rspectacular/mock_authentications/omniauth/facebook.rb