mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 04:06:53 +08:00
88d7429041
2. fixes gem dependencies issues 3. fixes failing migrations 4. updates depricated factory_girl => factory_bot and fixes related issues Signed-off-by: zmagod <zmago_devetak@yahoo.com>
9 lines
255 B
Ruby
9 lines
255 B
Ruby
FactoryBot.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
|