Fix spec helpers

This commit is contained in:
Artur Beljajev 2018-08-09 14:48:16 +03:00
parent 1ff200576e
commit 0a5de433c2
2 changed files with 3 additions and 3 deletions

View file

@ -12,8 +12,8 @@ module Features
def sign_in_to_registrar_area(user: create(:api_user))
visit new_registrar_user_session_url
fill_in 'depp_user_tag', with: user.username
fill_in 'depp_user_password', with: user.plain_text_password
fill_in 'registrar_user_username', with: user.username
fill_in 'registrar_user_password', with: user.plain_text_password
click_button 'Login'
end