spec/factories/remote/tournament.rb in synchronisable-1.2.3 vs spec/factories/remote/tournament.rb in synchronisable-1.2.4
- old
+ new
@@ -9,10 +9,10 @@
initialize_with { attributes }
trait :with_stages do
after(:build) do |object, evaluator|
stages = build_list(:remote_stage, 2, tour_id: object[:tour_id])
- object[:stages_ids] = stages.map { |h| h[:stage_id] }
+ object[:stage_ids] = stages.map { |h| h[:stage_id] }
end
end
end
end