scinote-web/spec/factories/repository_cell.rb

10 lines
255 B
Ruby
Raw Normal View History

FactoryBot.define do
2017-07-28 16:14:50 +08:00
factory :repository_cell do
repository_row { RepositoryRow.first || create(:repository_row) }
repository_column do
RepositoryColumn.first || create(:repository_column)
end
value 'RepositoryTextValue'
end
end