From ee4239f785889e53502ecf584226d01b938797f0 Mon Sep 17 00:00:00 2001 From: jcwimer Date: Thu, 3 Dec 2015 20:29:16 +0000 Subject: [PATCH] Fixing tests, still not working --- test/integration/pool_advancement_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/pool_advancement_test.rb b/test/integration/pool_advancement_test.rb index 8583bf7..35ee6f0 100644 --- a/test/integration/pool_advancement_test.rb +++ b/test/integration/pool_advancement_test.rb @@ -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