Update server greeting, add it to examples

This commit is contained in:
Martin Lensment 2015-01-05 17:01:40 +02:00
parent 9713053f31
commit aa8b0603d3
5 changed files with 736 additions and 266 deletions

View file

@ -11,7 +11,7 @@
<svcs>
<objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
<!-- <objURI>http://www.nic.cz/xml/epp/nsset-1.2</objURI> -->
<!-- <objURI>http://www.nic.cz/xml/epp/domain-1.4</objURI> -->
<!-- <objURI>http://F/xml/epp/domain-1.4</objURI> -->
<!-- <objURI>http://www.nic.cz/xml/epp/keyset-1.3</objURI> -->
<!-- <svcExtension>
<extURI>http://www.nic.cz/xml/epp/enumval-1.2</extURI>

View file

@ -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