mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
8 lines
226 B
Ruby
8 lines
226 B
Ruby
FactoryGirl.define do
|
|
factory :repository_column do
|
|
name 'My Column'
|
|
created_by { User.first || create(:user) }
|
|
repository { Repository.first || create(:repository) }
|
|
data_type :RepositoryTextValue
|
|
end
|
|
end
|