mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
11 lines
215 B
Ruby
11 lines
215 B
Ruby
|
FactoryGirl.define do
|
||
|
factory :contest do
|
||
|
sequence(:name) { |n| "Contest ##{n}" }
|
||
|
|
||
|
start Date.yesterday
|
||
|
self.end Date.tomorrow
|
||
|
status Contest::STATUS_PROGRESS
|
||
|
default_time "12:00:00"
|
||
|
end
|
||
|
end
|