mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
13 lines
234 B
Ruby
Executable file
13 lines
234 B
Ruby
Executable file
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
|