From 95c5a17e6e38b957f46a8b8eaaf948aed5179d48 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Thu, 9 Jun 2016 13:39:00 +0300 Subject: [PATCH] Strory#110308584 - gen more custom legal --- spec/epp/keyrelay_spec.rb | 2 +- spec/support/epp.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/epp/keyrelay_spec.rb b/spec/epp/keyrelay_spec.rb index 293c295bc..fb428a328 100644 --- a/spec/epp/keyrelay_spec.rb +++ b/spec/epp/keyrelay_spec.rb @@ -204,7 +204,7 @@ describe 'EPP Keyrelay', epp: true do }, { _anonymus: [ legalDocument: { - value: 'dGVzdCBmYWlsCg==', + value: Base64.encode64('S' * 4.kilobytes), attrs: { type: 'jpg' } } ] diff --git a/spec/support/epp.rb b/spec/support/epp.rb index 7088f1542..65bf48523 100644 --- a/spec/support/epp.rb +++ b/spec/support/epp.rb @@ -235,7 +235,7 @@ module Epp epp_xml.create(xml_params, {}, { _anonymus: [ legalDocument: { - value: 'dGVzdCBmYWlsCg==', + value: Base64.encode64('S' * 4.kilobytes), attrs: { type: 'pdf' } } ] @@ -320,7 +320,7 @@ module Epp custom_params = { _anonymus: [ legalDocument: { - value: 'dGVzdCBmYWlsCg==', + value: Base64.encode64('S' * 4.kilobytes), attrs: { type: 'pdf' } } ]