Sha256: 7bfa0a71c86c430bbadead8bddfaadc397c51013823f4a21fe80808711329adf
Contents?: true
Size: 390 Bytes
Versions: 3
Compression:
Stored size: 390 Bytes
Contents
FactoryGirl.define do factory :identity, :class => Socialite::Identity do sequence(:unique_id, 1000) { |n| "abcdef#{n}" } # association :user, :factory => :user, :method => :build provider 'facebook' auth_hash { x = { 'credentials' => {'token' => '123648493','secret' => '12477388272'} } } association :api, :factory => :facebook_identity, :method => :build end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
socialite-0.0.1.beta4 | spec/factories/identity.rb |
socialite-0.0.1.beta2 | spec/factories/identity.rb |
socialite-0.0.1.beta | spec/factories/identity.rb |