From 9c6a974becf47a7e61986f38f839b3ac26855249 Mon Sep 17 00:00:00 2001 From: Bertocq Date: Tue, 19 Sep 2017 18:54:37 +0200 Subject: [PATCH] Fix wrong spectations after final result swap for total result --- config/locales/nl/officing.yml | 2 +- spec/features/officing/results_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/locales/nl/officing.yml b/config/locales/nl/officing.yml index 810a354b5..e68f7e488 100644 --- a/config/locales/nl/officing.yml +++ b/config/locales/nl/officing.yml @@ -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 diff --git a/spec/features/officing/results_spec.rb b/spec/features/officing/results_spec.rb index 676ac7d68..835903ab9 100644 --- a/spec/features/officing/results_spec.rb +++ b/spec/features/officing/results_spec.rb @@ -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