Sha256: a08221594e07fde3ef6b16ad08af0293f0a0897b591914f3bf3d01f9d01246ce

Contents?: true

Size: 245 Bytes

Versions: 13

Compression:

Stored size: 245 Bytes

Contents

FactoryBot.define do
  factory :user do
    name { Faker::Name.name }
    email { Faker::Internet.email }
    email_verified_at { Time.now }
    password { 'password' }

    trait :unverified do
      email_verified_at { nil }
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kaze-1.0.1 stubs/default/test/factories/users.rb
kaze-1.0.0 stubs/default/test/factories/users.rb
kaze-0.19.0 stubs/default/test/factories/users.rb
kaze-0.18.0 stubs/default/test/factories/users.rb
kaze-0.17.0 stubs/default/test/factories/users.rb
kaze-0.16.0 stubs/default/test/factories/users.rb
kaze-0.15.0 stubs/default/test/factories/users.rb
kaze-0.14.0 stubs/default/test/factories/users.rb
kaze-0.13.0 stubs/default/test/factories/users.rb
kaze-0.12.0 stubs/default/test/factories/users.rb
kaze-0.11.0 stubs/default/test/factories/users.rb
kaze-0.10.0 stubs/default/test/factories/users.rb
kaze-0.9.0 stubs/default/test/factories/users.rb