0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-26 19:20:59 +00:00
ensl.org/spec/factories/gather.rb

14 lines
226 B
Ruby
Raw Normal View History

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