mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 22:41:33 +00:00
14 lines
226 B
Ruby
14 lines
226 B
Ruby
|
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
|