#status should: %s == :registered #available? should: %s == false #registered? should: %s == true #created_on should: %s CLASS(time) should: %s == Time.parse("1995-01-01") #updated_on should: %s CLASS(time) should: %s == Time.parse("2004-09-17") #expires_on should: %s raise_error(Whois::PropertyNotSupported) #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 == "APEM2-FRNIC" should: %s[0].name == nil should: %s[0].organization == "Afnic (Saint-Pierre et Miquelon - CTOM)" should: %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny-Le-Bretonneux\n78181 Saint Quentin en Yvelines Cedex" should: %s[0].city == nil should: %s[0].zip == nil should: %s[0].state == nil should: %s[0].country == nil should: %s[0].country_code == "FR" should: %s[0].phone == nil should: %s[0].fax == nil should: %s[0].email == nil should: %s[0].updated_on == Time.parse("2008-10-09 00:00:00 UTC") #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 == "NFC1-FRNIC" should: %s[0].name == "NIC France Contact" should: %s[0].organization == "AFNIC" should: %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" should: %s[0].city == nil should: %s[0].zip == nil should: %s[0].state == nil should: %s[0].country == nil should: %s[0].country_code == "FR" should: %s[0].phone == "+33 1 39 30 83 00" should: %s[0].fax == nil should: %s[0].email == "hostmaster@nic.fr" should: %s[0].updated_on == Time.parse("2005-08-23 00:00:00 UTC") #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 == "NFC1-FRNIC" should: %s[0].name == "NIC France Contact" should: %s[0].organization == "AFNIC" should: %s[0].address == "immeuble international\n2, rue Stephenson\nMontigny le Bretonneux\n78181 Saint Quentin en Yvelines Cedex" should: %s[0].city == nil should: %s[0].zip == nil should: %s[0].state == nil should: %s[0].country == nil should: %s[0].country_code == "FR" should: %s[0].phone == "+33 1 39 30 83 00" should: %s[0].fax == nil should: %s[0].email == "hostmaster@nic.fr" should: %s[0].updated_on == Time.parse("2005-08-23 00:00:00 UTC") #nameservers should: %s CLASS(array) should: %s SIZE(3)