mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Fixed bug in test for quickest pin then fixed bug in quickest pin tie breaker
This commit is contained in:
@@ -177,7 +177,7 @@ class Wrestler < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def fastestPin
|
||||
pinWins.sort_by{|m| m.pinTime}.reverse.first
|
||||
pinWins.sort_by{|m| m.pinTime}.first
|
||||
end
|
||||
|
||||
def seasonWinPercentage
|
||||
|
||||
Reference in New Issue
Block a user