spec/features/officing/voters_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

    poll_geozone_restricted_out = create(:poll, :current, geozone_restricted: true, geozones: [create(:geozone, census_code: "02")])

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

    user = create(:user, residence_verified_at: Time.current, document_type: "1", document_number: "12345678Z")

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

    create(:poll_officer_assignment, officer: officer, booth_assignment: create(:poll_booth_assignment, poll: poll_incoming, booth: booth))

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

  scenario "Display only current polls on which officer has a voting shift today, and user can answer", :js do

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

    create(:poll_shift, officer: officer, booth: second_booth, date: Date.current, task: :recount_scrutiny)

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

    create(:poll_officer_assignment, officer: officer, booth_assignment: create(:poll_booth_assignment, poll: poll_expired, booth: booth))

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

    booth_assignment = create(:poll_booth_assignment, poll: poll_geozone_restricted_in, booth: booth)

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

    booth_assignment = create(:poll_booth_assignment, poll: poll_geozone_restricted_out, booth: booth)

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

    poll_geozone_restricted_in = create(:poll, :current, geozone_restricted: true, geozones: [Geozone.first])

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

    create(:poll_shift, officer: officer, booth: second_booth, date: Date.tomorrow, task: :vote_collection)

There are no issues that match your filters.

Category
Status