#disclaimer should: %s == "This whois service is provided by CentralNic Ltd and only contains information pertaining to Internet domain names we have registered for our customers. By using this service you are agreeing (1) not to use any information presented here for any purpose other than determining ownership of domain names, (2) not to store or reproduce this data in any way, (3) not to use any high-volume, automated, electronic processes to obtain data from this service. Abuse of this service is monitored and actions in contravention of these terms will result in being permanently blacklisted. All data is (c) CentralNic Ltd https://www.centralnic.com/" #domain should: %s == "hotel.ar.com" #domain_id should: %s == "CNIC-DO557730" #referral_whois should: %s raise_error(Whois::PropertyNotSupported) #referral_url should: %s raise_error(Whois::PropertyNotSupported) #status should: %s == ["OK"] #available? should: %s == false #registered? should: %s == true #created_on should: %s CLASS(time) should: %s == Time.parse("2008-04-25 16:22:13 UTC") #updated_on should: %s CLASS(time) should: %s == Time.parse("2011-04-26 00:15:12 UTC") #expires_on should: %s CLASS(time) should: %s == Time.parse("2012-04-25 23:59:59 UTC") #registrar should: %s CLASS(registrar) should: %s.id == "H1323241" should: %s.name == nil should: %s.organization == "CentralNic Ltd" should: %s.url == nil #registrant_contacts should: %s CLASS(array) should: %s SIZE(1) should: %s[0] CLASS(contact) should: %s[0].type == Whois::Record::Contact::TYPE_REGISTRANT should: %s[0].id == "H1323241" should: %s[0].name == "Reserved Domains" should: %s[0].organization == "CentralNic Ltd" should: %s[0].address == "35-39 Moorgate" should: %s[0].city == "London" should: %s[0].zip == "EC2R 6AR" should: %s[0].state == nil should: %s[0].country == nil should: %s[0].country_code == "GB" should: %s[0].phone == "+44.8700170900" should: %s[0].fax == "+44.8700170901" should: %s[0].email == "domains@centralnic.com" #admin_contacts should: %s CLASS(array) should: %s SIZE(1) should: %s[0] CLASS(contact) should: %s[0].type == Whois::Record::Contact::TYPE_ADMIN should: %s[0].id == "H1323241" should: %s[0].name == "Reserved Domains" should: %s[0].organization == "CentralNic Ltd" should: %s[0].address == "35-39 Moorgate" should: %s[0].city == "London" should: %s[0].zip == "EC2R 6AR" should: %s[0].state == nil should: %s[0].country == nil should: %s[0].country_code == "GB" should: %s[0].phone == "+44.8700170900" should: %s[0].fax == "+44.8700170901" should: %s[0].email == "domains@centralnic.com" #technical_contacts should: %s CLASS(array) should: %s SIZE(1) should: %s[0] CLASS(contact) should: %s[0].type == Whois::Record::Contact::TYPE_TECHNICAL should: %s[0].id == "H1323241" should: %s[0].name == "Reserved Domains" should: %s[0].organization == "CentralNic Ltd" should: %s[0].address == "35-39 Moorgate" should: %s[0].city == "London" should: %s[0].zip == "EC2R 6AR" should: %s[0].state == nil should: %s[0].country == nil should: %s[0].country_code == "GB" should: %s[0].phone == "+44.8700170900" should: %s[0].fax == "+44.8700170901" should: %s[0].email == "domains@centralnic.com" #nameservers should: %s CLASS(array) should: %s SIZE(6) should: %s[0] CLASS(nameserver) should: %s[0].name == "ns0.centralnic-dns.com" should: %s[1] CLASS(nameserver) should: %s[1].name == "ns1.centralnic-dns.com" should: %s[2] CLASS(nameserver) should: %s[2].name == "ns2.centralnic-dns.com" should: %s[3] CLASS(nameserver) should: %s[3].name == "ns3.centralnic-dns.com" should: %s[4] CLASS(nameserver) should: %s[4].name == "ns4.centralnic-dns.com" should: %s[5] CLASS(nameserver) should: %s[5].name == "ns5.centralnic-dns.com"