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' } } ]