scottwillson/racing_on_rails

View on GitHub
test_ruby/models/calculations/v3/steps/assign_team_sizes_test.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method test_calculate has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def test_calculate
          category = Models::Category.new("Masters Men")
          rules = Rules.new
          calculator = Calculator.new(rules: rules, source_results: [])
          event_category = calculator.event_categories.first
Severity: Minor
Found in test_ruby/models/calculations/v3/steps/assign_team_sizes_test.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status