-
-
Notifications
You must be signed in to change notification settings - Fork 283
/
status_registered.expected
69 lines (48 loc) · 1.54 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
#disclaimer
should: %s raise_error(Whois::PropertyNotSupported)
#domain
should: %s == "google.hr"
#domain_id
should: %s raise_error(Whois::PropertyNotSupported)
#referral_url
should: %s raise_error(Whois::PropertyNotSupported)
#referral_whois
should: %s raise_error(Whois::PropertyNotSupported)
#status
should: %s == :registered
#available?
should: %s == false
#registered?
should: %s == true
#created_on
should: %s raise_error(Whois::PropertyNotSupported)
#updated_on
should: %s raise_error(Whois::PropertyNotSupported)
#expires_on
should: %s CLASS(time)
should: %s == Time.parse("2012-09-21")
#registrar
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 == nil
should: %s[0].name == "Google Hrvatska d.o.o."
should: %s[0].organization == nil
should: %s[0].address == "Primorska 26"
should: %s[0].city == "Zagreb"
should: %s[0].zip == "10 000"
should: %s[0].state == nil
should: %s[0].country == nil
should: %s[0].country_code == nil
should: %s[0].phone == nil
should: %s[0].fax == nil
should: %s[0].email == nil
#admin_contacts
should: %s raise_error(Whois::PropertyNotSupported)
#technical_contacts
should: %s raise_error(Whois::PropertyNotSupported)
#nameservers
should: %s raise_error(Whois::PropertyNotSupported)