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

@ -3,7 +3,7 @@ require 'test_helper'
class RegistrantLayoutTest < ActionDispatch::IntegrationTest
def setup
super
login_as(users(:registrant))
sign_in(users(:registrant))
Setting.days_to_keep_business_registry_cache = 1
travel_to Time.zone.parse('2010-07-05')