mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
8 lines
288 B
Ruby
8 lines
288 B
Ruby
FactoryBot.define do
|
|
factory :repository_list_item do
|
|
data { Faker::Name.unique.name }
|
|
repository { Repository.first || create(:repository) }
|
|
created_by { User.first || association(:project_user) }
|
|
last_modified_by { User.first || association(:project_user) }
|
|
end
|
|
end
|