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

@ -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.plain_text_password } }
post registrar_user_session_path, { registrar_user: { username: user.username, password: user.plain_text_password } }
end
end
end