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

Tested mat assignment during match generation

This commit is contained in:
2015-07-01 13:43:18 -04:00
parent bad21729bf
commit 1d7c9ee3ef
3 changed files with 5 additions and 0 deletions

BIN
db/.schema.rb.swp Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -244,4 +244,9 @@ class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
assert_equal "Winner Pool 2", @semi_bouts.second.loser1_name
assert_equal "Runner Up Pool 1", @semi_bouts.second.loser2_name
end
test 'test mat assignment after match generation' do
@matches = @tournament.matches.order(:bout_number)
assert_equal 'Mat1', @matches.first.mat.name
end
end