Replace Warden test helpers with Devise ones

This commit is contained in:
Artur Beljajev 2018-06-19 19:40:35 +03:00
parent 097f213717
commit d064dbc11f
51 changed files with 53 additions and 52 deletions

View file

@ -20,7 +20,7 @@ module Features
def sign_in_to_registrant_area
user = create(:registrant_user)
login_as(user, scope: :user)
sign_in(user, scope: :user)
end
end
end