Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
12345678910111213141516171819202122FactoryBot.define do factory :game do name 'The Legend of Mario: Melee Crossing Transformed X/Y 4'
trait :shortnamed do shortname 'tlommctxy4' end
trait :with_categories do after(:create) do |game| FactoryBot.create_list(:category, 1, game: game) end end
trait :with_runs do after(:create) do |game| FactoryBot.create_list(:run, 3, :parsed, category: FactoryBot.create(:category, game: game)) end end endend