mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-18 13:37:55 +00:00
Fixing tests, still not working
This commit is contained in:
@@ -393,7 +393,7 @@ class PoolAdvancementTest < ActionDispatch::IntegrationTest
|
|||||||
puts wrestler.winnerOfLastMatch?
|
puts wrestler.winnerOfLastMatch?
|
||||||
puts wrestler.nextMatchPositionNumber.ceil
|
puts wrestler.nextMatchPositionNumber.ceil
|
||||||
puts wrestler.nextMatchPositionNumber
|
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
|
puts match.bout_number
|
||||||
assert_equal 9, wrestler.placementPoints
|
assert_equal 9, wrestler.placementPoints
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user