- create gw_events, crew_gw_participations, gw_crew_scores, gw_individual_scores - add models, blueprints, controllers for GW tracking - add model specs and gw_events controller specs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
278 B
Ruby
10 lines
278 B
Ruby
FactoryBot.define do
|
|
factory :gw_individual_score do
|
|
crew_gw_participation
|
|
crew_membership
|
|
round { :preliminaries }
|
|
score { Faker::Number.between(from: 10_000, to: 1_000_000) }
|
|
is_cumulative { false }
|
|
association :recorded_by, factory: :user
|
|
end
|
|
end
|