From 71228726f1c8617f9d58650e874071fdf5af4f72 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Mon, 6 Feb 2017 23:22:31 +0200 Subject: [PATCH] Add valid legal document helper to request specs #269 --- spec/support/requests/epp_helpers.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/support/requests/epp_helpers.rb b/spec/support/requests/epp_helpers.rb index 1372ae779..beb8ca2c2 100644 --- a/spec/support/requests/epp_helpers.rb +++ b/spec/support/requests/epp_helpers.rb @@ -3,5 +3,9 @@ module Requests def have_code_of(*args) Matchers::EPP::Code.new(*args) end + + def valid_legal_document + Base64.encode64('a' * 5000) + end end end