scinote-web/spec/factories/activities.rb
2019-06-13 12:10:44 +02:00

16 lines
306 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