Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f128c6
commit fa5ef51
Showing
5 changed files
with
178 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 30 additions & 24 deletions
54
spec/fixtures/responses/whois.registry.net.za/status_available.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,53 @@ | ||
#available? | ||
should: %s == true | ||
|
||
#registered? | ||
should: %s == false | ||
|
||
#nameservers | ||
should: %s == [] | ||
|
||
#registrar | ||
#disclaimer | ||
should: %s == nil | ||
|
||
#registrant_contacts | ||
should: %s == [] | ||
|
||
#domain | ||
should: %s == nil | ||
|
||
#created_on | ||
should: %s == nil | ||
|
||
#status | ||
should: %s == nil | ||
|
||
#expires_on | ||
should: %s == nil | ||
|
||
#disclaimer | ||
should: %s == nil | ||
|
||
#domain_id | ||
should: %s raise_error Whois::PropertyNotSupported | ||
|
||
|
||
#referral_whois | ||
should: %s raise_error Whois::PropertyNotSupported | ||
|
||
#referral_url | ||
should: %s raise_error Whois::PropertyNotSupported | ||
|
||
|
||
#status | ||
should: %s == nil | ||
|
||
#available? | ||
should: %s == true | ||
|
||
#registered? | ||
should: %s == false | ||
|
||
|
||
#created_on | ||
should: %s == nil | ||
|
||
#updated_on | ||
should: %s raise_error Whois::PropertyNotSupported | ||
|
||
#expires_on | ||
should: %s == nil | ||
|
||
|
||
#registrar | ||
should: %s == nil | ||
|
||
#registrant_contacts | ||
should: %s == [] | ||
|
||
#admin_contacts | ||
should: %s raise_error Whois::PropertyNotSupported | ||
|
||
#technical_contacts | ||
should: %s raise_error Whois::PropertyNotSupported | ||
|
||
|
||
#nameservers | ||
should: %s == [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.