mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
88d7429041
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>
8 lines
215 B
Ruby
8 lines
215 B
Ruby
FactoryBot.define do
|
|
factory :team do
|
|
created_by { User.first || create(:user) }
|
|
name 'My team'
|
|
description 'Lorem ipsum dolor sit amet, consectetuer adipiscing eli.'
|
|
space_taken 1048576
|
|
end
|
|
end
|