spec/features/tags/budget_investments_spec.rb
File budget_investments_spec.rb
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'rails_helper'
feature 'Tags' do
let(:author) { create(:user, :level_two, username: 'Isabel') }
Line is too long. [106/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
let!(:investment2) { create(:budget_investment, heading: heading, tag_list: tag_medio_ambiente.name) }
- Exclude checks
Line is too long. [123/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment = create(:budget_investment, heading: heading, tag_list: "#{tag_medio_ambiente.name}, #{tag_economia.name}")
- Exclude checks
Line is too long. [119/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
fill_in 'budget_investment_tag_list', with: "Impuestos, Economía, Hacienda, Sanidad, Educación, Política, Igualdad"
- Exclude checks
Line is too long. [110/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
fill_in_ckeditor 'budget_investment_description', with: 'If I had a gym near my place I could go do Zumba'
- Exclude checks
Line is too long. [102/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
tag_list = ["Hacienda", "Economía", "Medio Ambiente", "Corrupción", "Fiestas populares", "Prensa"]
- Exclude checks
Line is too long. [110/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
fill_in_ckeditor 'budget_investment_description', with: 'If I had a gym near my place I could go do Zumba'
- Exclude checks
Line is too long. [110/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
fill_in_ckeditor 'budget_investment_description', with: 'If I had a gym near my place I could go do Zumba'
- Exclude checks
Line is too long. [106/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
let!(:investment1) { create(:budget_investment, heading: heading, tag_list: tag_medio_ambiente.name) }
- Exclude checks