scinote-web/spec/factories/repository_columns.rb
zmagod 88d7429041 1. fixes failing unit and integration tests
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>
2018-01-23 14:54:15 +01:00

8 lines
225 B
Ruby

FactoryBot.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