Rename users.password to users.plain_text_password

Otherwise it conflicts with Devise
This commit is contained in:
Artur Beljajev 2018-07-13 23:09:21 +03:00
parent 22e70e7707
commit 32ecf36057
19 changed files with 32 additions and 24 deletions

View file

@ -13,7 +13,7 @@ module Features
visit new_registrar_user_session_url
fill_in 'depp_user_tag', with: user.username
fill_in 'depp_user_password', with: user.password
fill_in 'depp_user_password', with: user.plain_text_password
click_button 'Login'
end

View file

@ -5,7 +5,7 @@ module Requests
end
def sign_in_to_registrar_area(user: create(:api_user))
post registrar_user_session_path, { depp_user: { tag: user.username, password: user.password } }
post registrar_user_session_path, { depp_user: { tag: user.username, password: user.plain_text_password } }
end
end
end