From ac906037fb90ee0710612c803de5719906d7f141 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 29 May 2014 14:12:22 +0000 Subject: [PATCH] edit-profile: adapt cucumber test to new format of birth-date --- features/edit_profile.feature | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/features/edit_profile.feature b/features/edit_profile.feature index 3745c28..749d8a0 100644 --- a/features/edit_profile.feature +++ b/features/edit_profile.feature @@ -12,9 +12,7 @@ Feature: edit profile | birth_date | When I go to joao's control panel And I follow "Edit Profile" - And I select "November" from "profile_data_birth_date_2i" - And I select "15" from "profile_data_birth_date_3i" - And I select "1980" from "profile_data_birth_date_1i" + And I select "1980-11-15" from "profile_data_birth_date" And I press "Save" Then I should not see "Birth date is invalid" And I should not see "Birth date is mandatory" @@ -25,9 +23,7 @@ Feature: edit profile | birth_date | When I go to joao's control panel And I follow "Edit Profile" - And I select "November" from "profile_data_birth_date_2i" - And I select "15" from "profile_data_birth_date_3i" - And I select "1980" from "profile_data_birth_date_1i" + And I select "1980-11-15" from "profile_data_birth_date" And I press "Save" Then I should not see "Birth date is invalid" And I should not see "Birth date is mandatory" -- libgit2 0.21.2