scinote-web/spec/factories/results.rb

15 lines
261 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :result do
name { Faker::Name.unique.name }
user
my_module
2021-01-20 16:01:26 +08:00
trait :archived do
archived { true }
archived_on { Time.zone.now }
archived_by { user }
end
end
end