mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 03:06:28 +08:00
91f016939d
SCI-5429
14 lines
261 B
Ruby
14 lines
261 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :result do
|
|
name { Faker::Name.unique.name }
|
|
user
|
|
my_module
|
|
trait :archived do
|
|
archived { true }
|
|
archived_on { Time.zone.now }
|
|
archived_by { user }
|
|
end
|
|
end
|
|
end
|