Sha256: b3b0e8ad832e1c03f1de8020f7788f7e8a38ef09acd46c09945e5a3157d0ad17

Contents?: true

Size: 1.32 KB

Versions: 31

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

31 entries across 31 versions & 1 rubygems

Version Path
rspectacular-0.43.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.42.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.41.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.40.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.39.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.38.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.37.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.36.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.35.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.34.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb
rspectacular-0.33.0 lib/rspectacular/mock_authentications/omniauth/facebook.rb