scinote-web/spec/factories/results.rb
2021-01-20 09:17:02 +01:00

15 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