mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Introduce custom assertion
This commit is contained in:
parent
5939da366e
commit
348e6e5d7a
54 changed files with 378 additions and 389 deletions
|
@ -1,15 +1,7 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue