/
status_registered.expected
115 lines (92 loc) · 4.41 KB
/
status_registered.expected
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#disclaimer
should: %s == "NOTICE: Access to .ORG WHOIS information is provided to assist persons in determining the contents of a domain name registration record in the Public Interest Registry registry database. The data in this record is provided by Public Interest Registry for informational purposes only, and Public Interest Registry does not guarantee its accuracy. This service is intended only for query-based access. You agree that you will use this data only for lawful purposes and that, under no circumstances will you use this data to: (a) allow, enable, or otherwise support the transmission by e-mail, telephone, or facsimile of mass unsolicited, commercial advertising or solicitations to entities other than the data recipient's own existing customers; or (b) enable high volume, automated, electronic processes that send queries or data to the systems of Registry Operator or any ICANN-Accredited Registrar, except as reasonably necessary to register domain names or modify existing registrations. All rights reserved. Public Interest Registry reserves the right to modify these terms at any time. By submitting this query, you agree to abide by this policy."
#domain
should: %s == "google.org"
#domain_id
should: %s == "D2244233-LROR"
#referral_whois
should: %s raise_error(Whois::PropertyNotSupported)
#referral_url
should: %s raise_error(Whois::PropertyNotSupported)
#status
should: %s == ["CLIENT DELETE PROHIBITED", "CLIENT TRANSFER PROHIBITED", "CLIENT UPDATE PROHIBITED"]
#available?
should: %s == false
#registered?
should: %s == true
#created_on
should: %s CLASS(time)
should: %s == Time.parse("1998-10-21 04:00:00 UTC")
#updated_on
should: %s CLASS(time)
should: %s == Time.parse("2009-03-04 12:07:19 UTC")
#expires_on
should: %s CLASS(time)
should: %s == Time.parse("2012-10-20 04:00:00 UTC")
#registrar
should: %s CLASS(registrar)
should: %s.id == "R37-LROR"
should: %s.name == "MarkMonitor Inc."
should: %s.organization == "MarkMonitor Inc."
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 == "mmr-32097"
should: %s[0].name == "DNS Admin"
should: %s[0].organization == "Google Inc."
should: %s[0].address == "1600 Amphitheatre Parkway"
should: %s[0].city == "Mountain View"
should: %s[0].zip == "94043"
should: %s[0].state == "CA"
should: %s[0].country_code == "US"
should: %s[0].phone == "+1.6506234000"
should: %s[0].fax == "+1.6506188571"
should: %s[0].email == "dns-admin@google.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 == "mmr-32097"
should: %s[0].name == "DNS Admin"
should: %s[0].organization == "Google Inc."
should: %s[0].address == "1600 Amphitheatre Parkway"
should: %s[0].city == "Mountain View"
should: %s[0].zip == "94043"
should: %s[0].state == "CA"
should: %s[0].country_code == "US"
should: %s[0].phone == "+1.6506234000"
should: %s[0].fax == "+1.6506188571"
should: %s[0].email == "dns-admin@google.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 == "mmr-32097"
should: %s[0].name == "DNS Admin"
should: %s[0].organization == "Google Inc."
should: %s[0].address == "1600 Amphitheatre Parkway"
should: %s[0].city == "Mountain View"
should: %s[0].zip == "94043"
should: %s[0].state == "CA"
should: %s[0].country_code == "US"
should: %s[0].phone == "+1.6506234000"
should: %s[0].fax == "+1.6506188571"
should: %s[0].email == "dns-admin@google.com"
#nameservers
should: %s CLASS(array)
should: %s SIZE(4)
should: %s[0] CLASS(nameserver)
should: %s[0].name == "ns2.google.com"
should: %s[1] CLASS(nameserver)
should: %s[1].name == "ns1.google.com"
should: %s[2] CLASS(nameserver)
should: %s[2].name == "ns3.google.com"
should: %s[3] CLASS(nameserver)
should: %s[3].name == "ns4.google.com"
#response_throttled?
should: %s == false