Sha256: ada43d52c2958a3071038e191f45252eb7fd312ceb1b897bfda5b1a6b83eb0a5
Contents?: true
Size: 537 Bytes
Versions: 1
Compression:
Stored size: 537 Bytes
Contents
FactoryGirl.define do factory :authentication, :class => Models::Authentication do user application_id { user.application_id } provider 'twitter' sequence(:uid) {|n| "UID_#{n}" } omniauth { { provider: provider, uid: uid, info: { name: 'Gavin Joyce', nickname: 'gavinjoyce', email: 'gavinjoyce@gmail.com', location: 'Dublin, Ireland', description: 'Building cool things with Ruby & Ember.js' } }.to_json } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restpack_user_service-0.0.4 | spec/factories/authentication_factory.rb |