1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Make sure the max weight is defined during tests

This commit is contained in:
RJ Osborne
2015-05-24 20:56:20 -04:00
parent 9d8e0850bc
commit 98879c16b9

View File

@@ -39,7 +39,8 @@ class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
def create_weight
Weight.new(
id: @id,
tournament_id: @id
tournament_id: @id,
max: @id
).save!
end