1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-08 15:29:20 +00:00

Random seeding now works

This commit is contained in:
2015-12-30 16:21:56 +00:00
parent 6ed2bdf547
commit 74577eb9ec
11 changed files with 131 additions and 21 deletions

View File

@@ -536,15 +536,12 @@ class PoolAdvancementTest < ActionDispatch::IntegrationTest
assert_equal 12, wrestler.placementPoints
end
test "advancement points fourPoolsToSemi Semis" do
test "advancement points fourPoolsToSemi Semis and Conso Semis" do
sixteenManToSemi
wrestler = Wrestler.where("name = ?", "Guy22").first
assert_equal 9, wrestler.placementPoints
end
test "advancement points fourPoolsToSemi Conso Semis" do
sixteenManToSemi
wrestler = Wrestler.where("name = ?", "Guy29").first
assert_equal 3, wrestler.placementPoints