spec/models/budget/result_spec.rb
Line is too long. [129/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment5 = create(:budget_investment, :selected, heading: heading, price: 100, ballot_lines_count: 500, winner: false)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment2 = create(:budget_investment, :winner, heading: heading, price: 300, ballot_lines_count: 800)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment4 = create(:budget_investment, :winner, heading: heading, price: 500, ballot_lines_count: 600)
- Exclude checks
Line is too long. [129/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment1 = create(:budget_investment, :selected, heading: heading, price: 200, ballot_lines_count: 900, winner: false)
- Exclude checks
Line is too long. [118/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment3 = create(:budget_investment, :incompatible, heading: heading, price: 500, ballot_lines_count: 700)
- Exclude checks
Line is too long. [132/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment3 = create(:budget_investment, :incompatible, heading: heading, price: 500, ballot_lines_count: 700, winner: true)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment2 = create(:budget_investment, :winner, heading: heading, price: 300, ballot_lines_count: 800)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment4 = create(:budget_investment, :winner, heading: heading, price: 500, ballot_lines_count: 600)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment5 = create(:budget_investment, :winner, heading: heading, price: 100, ballot_lines_count: 500)
- Exclude checks
Line is too long. [119/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(heading.investments.winners.pluck(:id)).to match_array([investment1.id, investment2.id, investment3.id])
- Exclude checks
Line is too long. [119/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(heading.investments.winners.pluck(:id)).to match_array([investment1.id, investment2.id, investment4.id])
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment2 = create(:budget_investment, :winner, heading: heading, price: 300, ballot_lines_count: 800)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment1 = create(:budget_investment, :winner, heading: heading, price: 200, ballot_lines_count: 900)
- Exclude checks
Line is too long. [129/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment4 = create(:budget_investment, :selected, heading: heading, price: 500, ballot_lines_count: 600, winner: false)
- Exclude checks
Line is too long. [119/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(heading.investments.winners.pluck(:id)).to match_array([investment1.id, investment2.id, investment4.id])
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment4 = create(:budget_investment, :winner, heading: heading, price: 500, ballot_lines_count: 600)
- Exclude checks
Line is too long. [129/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment2 = create(:budget_investment, :selected, heading: heading, price: 300, ballot_lines_count: 800, winner: false)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment5 = create(:budget_investment, :winner, heading: heading, price: 100, ballot_lines_count: 500)
- Exclude checks
Line is too long. [133/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment3 = create(:budget_investment, :incompatible, heading: heading, price: 500, ballot_lines_count: 700, winner: false)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment1 = create(:budget_investment, :winner, heading: heading, price: 200, ballot_lines_count: 900)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment3 = create(:budget_investment, :winner, heading: heading, price: 500, ballot_lines_count: 700)
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment1 = create(:budget_investment, :winner, heading: heading, price: 200, ballot_lines_count: 900)
- Exclude checks
Line is too long. [119/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(heading.investments.winners.pluck(:id)).to match_array([investment1.id, investment2.id, investment4.id])
- Exclude checks
Line is too long. [112/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
investment5 = create(:budget_investment, :winner, heading: heading, price: 100, ballot_lines_count: 500)
- Exclude checks