spec/features/polls/voter_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

        expect(page).not_to have_link(answer_yes.title, href: "/questions/#{question.id}/answer?answer=#{answer_yes.title}&token=")
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

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

      create(:poll_shift, officer: officer, booth: booth, date: Date.current, task: :vote_collection)
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

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

      expect(page).to have_content "You can write down this vote identifier, to check your vote on the final results: #{token}"
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

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

        expect(page).to have_content "You have already participated in this poll. If you vote again it will be overwritten."
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

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

      expect(page).not_to have_content("You have already participated in this poll. If you vote again it will be overwritten")
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

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

        expect(page).not_to have_link(answer_no.title, href: "/questions/#{question.id}/answer?answer=#{answer_no.title}&token=")
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

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

        expect(page).to have_content "You have already participated in a physical booth. You can not participate again."
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

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

      expect(page).to have_content "You have already participated in a physical booth. You can not participate again."
Severity: Minor
Found in spec/features/polls/voter_spec.rb by rubocop

There are no issues that match your filters.

Category
Status