Fix tests

This commit is contained in:
Alex Sherman 2020-09-04 15:06:40 +05:00
parent cbb3c0d5ef
commit 26c8fe6a3e
2 changed files with 11 additions and 6 deletions

View file

@ -53,7 +53,7 @@ class EppSessionTest < ActiveSupport::TestCase
travel_to Time.zone.parse('2010-07-05')
EppSession.delete_all
EppSession.limit_per_registrar.times do
EppSession.sessions_per_registrar.times do
EppSession.create!(session_id: SecureRandom.hex,
user: users(:api_goodnames),
updated_at: Time.zone.parse('2010-07-05'))