internetee-registry/spec/support/requests/epp_helpers.rb
2017-08-18 13:04:24 +03:00

15 lines
265 B
Ruby

module Requests
module EPPHelpers
def have_code_of(*args)
Matchers::EPP::Code.new(*args)
end
def valid_legal_document
Base64.encode64('a' * 5000)
end
def epp_response
EPP::Response.from_xml(response.body)
end
end
end