mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
12 lines
271 B
Ruby
12 lines
271 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :user do
|
|
full_name 'admin'
|
|
initials 'AD'
|
|
sequence(:email) { |n| "user-#{n}@example.com" }
|
|
password 'asdf1243'
|
|
password_confirmation 'asdf1243'
|
|
current_sign_in_at DateTime.now
|
|
end
|
|
end
|