2018-01-23 21:54:15 +08:00
|
|
|
FactoryBot.define do
|
2017-07-28 16:14:50 +08:00
|
|
|
factory :repository_column do
|
|
|
|
name 'My Column'
|
|
|
|
created_by { User.first || create(:user) }
|
|
|
|
repository { Repository.first || create(:repository) }
|
|
|
|
data_type :RepositoryTextValue
|
|
|
|
end
|
|
|
|
end
|