Fix session helpers spec support

This commit is contained in:
Artur Beljajev 2016-12-08 18:55:19 +02:00
parent 75f13f95b3
commit be0d0ab095

View file

@ -1,7 +1,7 @@
module Features
module SessionHelpers
def sign_in_to_registrar_area(user: FactoryGirl.create(:api_user))
visit registrar_login_path
visit registrar_login_url
fill_in 'depp_user_tag', with: user.username
fill_in 'depp_user_password', with: user.password