mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-19 19:43:46 +00:00
Refactored match winner and wrestlers matches and fixed slow tests.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class CalculateSchoolScoreJob < ApplicationJob
|
||||
queue_as :default
|
||||
|
||||
# Class method for direct execution in test environment
|
||||
# Need for TournamentJobStatusIntegrationTest
|
||||
def self.perform_sync(school)
|
||||
# Execute directly on provided objects
|
||||
school.calculate_score_raw
|
||||
|
||||
Reference in New Issue
Block a user