test/answer/parser/whois.nic.hu_test.rb in whois-0.9.0 vs test/answer/parser/whois.nic.hu_test.rb in whois-1.0.0

- old
+ new

@@ -1,5 +1,7 @@ +# coding: utf-8 + require 'test_helper' require 'whois/answer/parser/whois.nic.hu.rb' class AnswerParserWhoisNicHuTest < Test::Unit::TestCase @@ -9,19 +11,19 @@ @klass = Whois::Answer::Parser::WhoisNicHu @host = "whois.nic.hu" end def test_disclaimer - expected = (<<-EOS).strip -Rights restricted by copyright. Szerzői jog fenntartva. + expected = <<-EOS.strip +Rights restricted by copyright. Szerzõi jog fenntartva. -Legal usage of this service requires that you agree to abide by the rules and conditions set forth at http://www.domain.hu/domain/English/domainsearch/feltetelek.html -A szolgaltatas csak a -http://www.domain.hu/domain/domainsearch/feltetelek.html címen -elérhető feltételek elfogadása és betartása mellett -használható legálisan. +http://www.domain.hu/domain/domainsearch/feltetelek.html cĂ­men +elĂ©rhetõ feltĂ©telek elfogadása Ă©s betartása mellett +használhatĂł legálisan. EOS assert_equal expected, @klass.new(load_part('/available.txt')).disclaimer assert_equal expected, @klass.new(load_part('/in_progress.txt')).disclaimer @@ -118,11 +120,11 @@ def test_admin_with_registered admin = @klass.new(load_part('/registered.txt')).admin assert_instance_of Whois::Answer::Contact, admin assert_equal '2000466366', admin.id assert_equal '3C Kft. (Registrar)', admin.name - assert_equal 'Konkoly Thege út 29-33.', admin.address + assert_equal 'Konkoly Thege Ăşt 29-33.', admin.address assert_equal 'H-1121', admin.zip assert_equal 'Budapest', admin.city assert_equal 'HU', admin.country_code assert_equal '+36 1 275 52 00', admin.phone assert_equal '+36 1 275 58 87', admin.fax @@ -181,10 +183,10 @@ registrar_contact = @klass.new(load_part('/registered.txt')).registrar_contact assert_instance_of Whois::Answer::Contact, registrar_contact assert_equal '1960108002', registrar_contact.id assert_equal '3C Kft. (Registrar)', registrar_contact.name assert_equal '3C Ltd.', registrar_contact.organization - assert_equal 'Konkoly Thege út 29-33.', registrar_contact.address + assert_equal 'Konkoly Thege Ăşt 29-33.', registrar_contact.address assert_equal 'H-1121', registrar_contact.zip assert_equal 'Budapest', registrar_contact.city assert_equal 'HU', registrar_contact.country_code assert_equal '+36 1 275 52 00', registrar_contact.phone assert_equal '+36 1 275 58 87', registrar_contact.fax \ No newline at end of file