mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
8 lines
232 B
Ruby
8 lines
232 B
Ruby
FactoryBot.define do
|
|
factory :report do
|
|
user { User.first || association(:user) }
|
|
project { Project.first || association(:project) }
|
|
team { Team.first || association(:team) }
|
|
name Faker::Name.unique.name
|
|
end
|
|
end
|