0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-19 16:01:26 +00:00
ensl.org/spec/factories/gather.rb
2020-03-15 15:33:58 +02:00

13 lines
227 B
Ruby
Executable file

FactoryBot.define do
factory :gather do
association :category, factory: [:category, :game]
end
trait :running do
status Gather::STATE_RUNNING
end
trait :picking do
status Gather::STATE_PICKING
end
end