mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Add registrant login spec helper
This commit is contained in:
parent
f426e268df
commit
5b3d7f047f
1 changed files with 5 additions and 0 deletions
|
@ -17,5 +17,10 @@ module Features
|
|||
|
||||
click_button 'Login'
|
||||
end
|
||||
|
||||
def sign_in_to_registrant_area
|
||||
user = create(:registrant_user)
|
||||
login_as(user, scope: :user)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue