mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +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
|