scinote-web/spec/factories/teams.rb

9 lines
215 B
Ruby
Raw Normal View History

FactoryBot.define do
2017-07-10 20:38:18 +08:00
factory :team do
2017-07-28 16:14:50 +08:00
created_by { User.first || create(:user) }
2017-07-10 20:38:18 +08:00
name 'My team'
description 'Lorem ipsum dolor sit amet, consectetuer adipiscing eli.'
space_taken 1048576
end
end