scottwillson/racing_on_rails

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

Summary

Maintainability
A
2 hrs
Test Coverage

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

        def test_remove_results_from_other_calculations
          category = Models::Category.new("Women")
          rules = Rules.new(
            category_rules: [Models::CategoryRule.new(category)],
            disciplines: [Models::Discipline.new("Road")]

    Method test_weekly_series_calculated_overall has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            def test_weekly_series_calculated_overall
              category = Models::Category.new("Women")
              rules = Rules.new(
                category_rules: [Models::CategoryRule.new(category)],
                weekday_events: false

      There are no issues that match your filters.

      Category
      Status