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

Fixed bug in baumspage importer. Trailing (season loss) array item was shifted if it was blank.

This commit is contained in:
2019-01-10 19:22:42 +00:00
parent 31323593c9
commit 2516afd53c
2 changed files with 14 additions and 3 deletions

View File

@@ -23,6 +23,9 @@ Some Guy
guy = @school.wrestlers.select{|w| w.name == "Another Guy"}.first
assert guy.season_win == 5
assert guy.season_loss == 7
guy5 = @school.wrestlers.select{|w| w.name == "Another Guy5"}.first
assert guy5.season_win == 0
assert guy5.season_loss == 0
end
end