mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
12 lines
291 B
Ruby
12 lines
291 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
|