1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-31 03:25:45 +00:00

Fixing tests, still not working

This commit is contained in:
2015-12-03 20:29:16 +00:00
parent 119a97ebb7
commit ee4239f785

View File

@@ -393,7 +393,7 @@ class PoolAdvancementTest < ActionDispatch::IntegrationTest
puts wrestler.winnerOfLastMatch?
puts wrestler.nextMatchPositionNumber.ceil
puts wrestler.nextMatchPositionNumber
match = Match.where("bracket_position = ? AND bracket_position_number = ? AND weight_id = ?","Semis",wrestler.nextMatchPositionNumber,wrestler.weight_id).first
match = Match.where("bracket_position = ? AND bracket_position_number = ? AND weight_id = ?","Semis",wrestler.nextMatchPositionNumber.ceil,wrestler.weight_id).first
puts match.bout_number
assert_equal 9, wrestler.placementPoints
end