mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +08:00
10 lines
226 B
Ruby
10 lines
226 B
Ruby
FactoryBot.define do
|
|
factory :user do
|
|
full_name 'admin'
|
|
initials 'AD'
|
|
email Faker::Internet.unique.email
|
|
password 'asdf1243'
|
|
password_confirmation 'asdf1243'
|
|
current_sign_in_at DateTime.now
|
|
end
|
|
end
|