mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-26 16:20:55 +00:00
Make sure the max weight is defined during tests
This commit is contained in:
@@ -39,7 +39,8 @@ class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
|
|||||||
def create_weight
|
def create_weight
|
||||||
Weight.new(
|
Weight.new(
|
||||||
id: @id,
|
id: @id,
|
||||||
tournament_id: @id
|
tournament_id: @id,
|
||||||
|
max: @id
|
||||||
).save!
|
).save!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user