Sha256: e7d1ec9bf9030bbe08c4a6e32792b1d814db8f908ead310c9272cdd6dc89a1e4

Contents?: true

Size: 250 Bytes

Versions: 6

Compression:

Stored size: 250 Bytes

Contents

FactoryGirl.define do
  factory :login do
    identification { Faker::Internet.email }
    password       { Faker::Lorem.word }

    trait :facebook do
      uid { Faker::Number.number }
      password nil
      provider 'facebook'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_api_auth-0.1.0 spec/factories/logins.rb
rails_api_auth-0.0.8 spec/factories/logins.rb
rails_api_auth-0.0.7 spec/factories/logins.rb
rails_api_auth-0.0.6 spec/factories/logins.rb
rails_api_auth-0.0.5 spec/factories/logins.rb
rails_api_auth-0.0.4 spec/factories/logins.rb