mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Update server greeting, add it to examples
This commit is contained in:
parent
9713053f31
commit
aa8b0603d3
5 changed files with 736 additions and 266 deletions
|
@ -8,8 +8,10 @@ describe 'EPP Session', epp: true do
|
|||
context 'when not connected' do
|
||||
it 'greets client upon connection' do
|
||||
response = Nokogiri::XML(server_gitlab.open_connection)
|
||||
expect(response.css('epp svID').text).to eq('EPP server (DSDng)')
|
||||
expect(response.css('epp svID').text).to eq('EPP server (EIS)')
|
||||
server_gitlab.close_connection
|
||||
|
||||
puts "RESPONSE:\n\n```xml\n#{response}```\n\n" if ENV['EPP_DOC']
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue