Use JavaScript driver in ballot sheet spec
With the rack driver, the `ballot_sheet.data` text was being converted from newline characters to whitespace, while with the JavaScript driver we get newline characters for `<br>` tags, as we expect.
This commit is contained in:
@@ -142,7 +142,7 @@ describe "Poll budget ballot sheets" do
|
||||
set_officing_booth(booth)
|
||||
end
|
||||
|
||||
scenario "Ballot sheet information is displayed" do
|
||||
scenario "Ballot sheet information is displayed", :js do
|
||||
officer_assignment = create(:poll_officer_assignment, officer: poll_officer)
|
||||
ballot_sheet = create(:poll_ballot_sheet, poll: poll, officer_assignment: officer_assignment)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user