From 5c676498e2570d95166f0c63a3051e41eadc3fc8 Mon Sep 17 00:00:00 2001 From: rgarcia Date: Wed, 1 Feb 2017 11:37:11 +0100 Subject: [PATCH] fixes specs --- spec/support/common_actions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/common_actions.rb b/spec/support/common_actions.rb index 008403dbe..e0fdfe425 100644 --- a/spec/support/common_actions.rb +++ b/spec/support/common_actions.rb @@ -142,9 +142,9 @@ module CommonActions end def officing_verify_residence - fill_in 'residence_document_number', with: "12345678Z" select 'DNI', from: 'residence_document_type' - select_date '31-December-1980', from: 'residence_date_of_birth' + fill_in 'residence_document_number', with: "12345678Z" + fill_in 'residence_year_of_birth', with: "1980" click_button 'Validate document'