mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
9 lines
256 B
Ruby
9 lines
256 B
Ruby
FactoryGirl.define do
|
|
factory :repository_cell do
|
|
repository_row { RepositoryRow.first || create(:repository_row) }
|
|
repository_column do
|
|
RepositoryColumn.first || create(:repository_column)
|
|
end
|
|
value 'RepositoryTextValue'
|
|
end
|
|
end
|