mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
8 lines
263 B
Ruby
8 lines
263 B
Ruby
FactoryBot.define do
|
|
factory :repository_list_item do
|
|
data ''
|
|
repository { Repository.first || create(:repository) }
|
|
created_by { User.first || association(:project_user) }
|
|
last_modified_by { User.first || association(:project_user) }
|
|
end
|
|
end
|