spec/models/poll/shift_spec.rb
Line is too long. [120/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(build(:poll_shift, booth: booth, officer: officer, date: Date.current, task: :vote_collection)).to be_valid
- Exclude checks
Line is too long. [121/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
let(:recount_shift) { build(:poll_shift, booth: booth, officer: officer, date: Date.current, task: :recount_scrutiny) }
- Exclude checks
Line is too long. [122/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(build(:poll_shift, booth: booth, officer: officer, date: Date.tomorrow, task: :recount_scrutiny)).to be_valid
- Exclude checks
Line is too long. [125/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect(build(:poll_shift, booth: booth, officer: officer, date: Date.current, task: :recount_scrutiny)).not_to be_valid
- Exclude checks
Line is too long. [140/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
expect { create(:poll_shift, booth: booth, officer: officer, date: Date.current) }.to change {Poll::OfficerAssignment.all.count}.by(2)
- Exclude checks
Line is too long. [114/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits) Open
Open
create(:poll_officer_assignment, officer: officer, booth_assignment: booth_assignment1, date: Date.tomorrow)
- Exclude checks