diff --git a/spec/forms/backup_code_verification_form_spec.rb b/spec/forms/backup_code_verification_form_spec.rb index 1fe95724b75..040189f5c14 100644 --- a/spec/forms/backup_code_verification_form_spec.rb +++ b/spec/forms/backup_code_verification_form_spec.rb @@ -23,7 +23,7 @@ success: true, errors: {}, multi_factor_auth_method: 'backup_code', - multi_factor_auth_method_created_at: backup_code_config.created_at, + multi_factor_auth_method_created_at: backup_code_config.created_at.strftime('%s%L'), } end