account_spec
This commit is contained in:
parent
8e7a566125
commit
18cb0d6473
|
|
@ -11,7 +11,7 @@ describe "Account", :js => true, :type => :feature, :capybara_feature => true do
|
|||
emulate_client
|
||||
sign_in_poltergeist user
|
||||
visit "/client#/account"
|
||||
|
||||
|
||||
find('div.account-mid.identity')
|
||||
end
|
||||
|
||||
|
|
@ -102,9 +102,9 @@ describe "Account", :js => true, :type => :feature, :capybara_feature => true do
|
|||
should have_selector('#profile #user', text: 'Bobby Toes')
|
||||
|
||||
|
||||
|
||||
jk_select("Jan", '#account-edit-profile-form select[name="user[birth_date(2i)]"]')
|
||||
#jk_select("Jan", '#account-edit-profile-form #user_birth_date_2i')
|
||||
# Update birth date and check updated birth date
|
||||
|
||||
jk_select("Jan", '#account-edit-profile-form #user_birth_date_2i')
|
||||
jk_select("12", '#account-edit-profile-form #user_birth_date_3i')
|
||||
jk_select("1960", '#account-edit-profile-form #user_birth_date_1i')
|
||||
find("#account-edit-profile-submit").trigger(:click)
|
||||
|
|
|
|||
Loading…
Reference in New Issue