scottwillson/racing_on_rails

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

Summary

Maintainability
A
1 hr
Test Coverage

Method test_split_points_across_teams has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def test_split_points_across_teams
          category = Models::Category.new("Masters Men")
          rules = Rules.new(
            category_rules: [Models::CategoryRule.new(category)],
            points_for_place: [100, 75, 50, 20, 10]
Severity: Minor
Found in test_ruby/models/calculations/v3/steps/assign_points_test.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status