spec/features/valuation/budget_investments_spec.rb
File budget_investments_spec.rb
has 409 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'rails_helper'
feature 'Valuation budget investments' do
let(:budget) { create(:budget, :valuating) }
Line is too long. [104/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(page).to have_content('Investments can only be valuated when Budget is in valuating phase')
- Exclude checks
Line is too long. [103/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
heading: valuating_finished_heading,
- Exclude checks
Line is too long. [103/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(page).not_to have_selector("textarea[id='budget_investment_unfeasibility_explanation']")
- Exclude checks