scinote-web/spec/factories/repository_cell.rb

10 lines
256 B
Ruby
Raw Normal View History

2017-07-28 16:14:50 +08:00
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