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

@ -2,7 +2,7 @@ require 'test_helper'
class RegistrarDomainsTest < ActionDispatch::IntegrationTest
def test_downloads_domain_list_as_csv
login_as users(:api_bestnames)
sign_in users(:api_bestnames)
travel_to Time.zone.parse('2010-07-05 10:30')
expected_csv = <<-CSV.strip_heredoc