mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
14 lines
234 B
Ruby
14 lines
234 B
Ruby
|
FactoryGirl.define do
|
||
|
factory :match do
|
||
|
contest
|
||
|
contester1 do
|
||
|
create(:contester, contest: contest)
|
||
|
end
|
||
|
contester2 do
|
||
|
create(:contester, contest: contest)
|
||
|
end
|
||
|
|
||
|
match_time 1.hour.from_now
|
||
|
end
|
||
|
end
|