lib/migrate_spending_proposals_to_investments.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method import has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def import(sp)
    budget = Budget.last || Budget.create!(name: Date.current.year.to_s, currency_symbol: "€")

    group = nil
    heading = nil
Severity: Minor
Found in lib/migrate_spending_proposals_to_investments.rb - About 1 hr to fix

    1 trailing blank lines detected. (https://github.com/bbatsov/ruby-style-guide#newline-eof)
    Open

    There are no issues that match your filters.

    Category
    Status