mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
8 lines
251 B
Ruby
8 lines
251 B
Ruby
FactoryBot.define do
|
|
factory :repository_row do
|
|
name 'Custom row'
|
|
created_by { User.first || association(:user) }
|
|
repository { Repository.first || create(:repository) }
|
|
last_modified_by { User.first || association(:user) }
|
|
end
|
|
end
|