0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-15 14:20:54 +00:00
ensl.org/spec/factories/match.rb

14 lines
233 B
Ruby
Raw Normal View History

FactoryBot.define do
2015-11-07 06:21:09 +00:00
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