From ee8fafe8eaeaff0e547f87c17b4bb1dff36d2687 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Mon, 20 Dec 2021 07:45:54 +0100 Subject: [PATCH] Maintenance: Fix capybara test to handle translation correctly. --- spec/system/ticket/zoom_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/ticket/zoom_spec.rb b/spec/system/ticket/zoom_spec.rb index 7476afad3..0bb56c51d 100644 --- a/spec/system/ticket/zoom_spec.rb +++ b/spec/system/ticket/zoom_spec.rb @@ -2009,7 +2009,7 @@ RSpec.describe 'Ticket zoom', type: :system do click_on 'Submit' visit "#ticket/zoom/#{ticket.id}" - expect(page).to have_text('Dateien wählen') + expect(page).to have_text(Translation.translate('de-de', 'select attachment…')) end def expect_upload_and_text