mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
16 lines
298 B
Ruby
16 lines
298 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :activity do
|
|
type_of :create_project
|
|
message Faker::Lorem.sentence(10)
|
|
subject { create :project }
|
|
owner { create :user }
|
|
team
|
|
trait :old do
|
|
project
|
|
experiment
|
|
subject { nil }
|
|
end
|
|
end
|
|
end
|