Fix wrong spectations after final result swap for total result

This commit is contained in:
Bertocq
2017-09-19 18:54:37 +02:00
parent 3105bd9ee1
commit 9c6a974bec
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ nl:
menu:
voters: Validate document
recounts: Store recount
total_recounts: Final recounts and results
total_recounts: Total recounts and results
polls:
index:
title: Poll list

View File

@@ -26,7 +26,7 @@ feature 'Officing Results' do
expect(page).to have_content('Poll officing')
within('#side_menu') do
click_link 'Final recounts and results'
click_link 'Total recounts and results'
end
expect(page).to_not have_content(not_allowed_poll_1.name)
@@ -42,7 +42,7 @@ feature 'Officing Results' do
visit officing_root_path
within('#side_menu') do
click_link 'Final recounts and results'
click_link 'Total recounts and results'
end
within("#poll_#{@poll.id}") do