spec/features/valuation/budget_investments_spec.rb

Summary

Maintainability
B
5 hrs
Test Coverage

File budget_investments_spec.rb has 409 lines of code (exceeds 250 allowed). Consider refactoring.
Open

require 'rails_helper'

feature 'Valuation budget investments' do

  let(:budget) { create(:budget, :valuating) }
Severity: Minor
Found in spec/features/valuation/budget_investments_spec.rb - About 5 hrs to fix

    Line is too long. [104/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
    Open

          expect(page).to have_content('Investments can only be valuated when Budget is in valuating phase')

    Line is too long. [103/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
    Open

                                                                       heading: valuating_finished_heading,

    Line is too long. [103/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)
    Open

            expect(page).not_to have_selector("textarea[id='budget_investment_unfeasibility_explanation']")

    There are no issues that match your filters.

    Category
    Status