Skip to content

Commit

Permalink
Assume all expectations to be a should
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Oct 5, 2013
1 parent 2ee16d5 commit 505a22b
Show file tree
Hide file tree
Showing 730 changed files with 13,231 additions and 13,226 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#nameservers
should: %s CLASS(array)
should: %s == []
%s CLASS(array)
%s == []
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
#disclaimer
should: %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time."
%s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time."


#domain
should: %s == "u34jedzcq.jobs"
%s == "u34jedzcq.jobs"

#domain_id
should: %s == nil
%s == nil


#status
should: %s == nil
%s == nil

#available?
should: %s == true
%s == true

#registered?
should: %s == false
%s == false


#created_on
should: %s == nil
%s == nil

#updated_on
should: %s == nil
%s == nil

#expires_on
should: %s == nil
%s == nil


#registrar
should: %s == nil
%s == nil


#nameservers
should: %s CLASS(array)
should: %s == []
%s CLASS(array)
%s == []



#referral_whois
should: %s == nil
%s == nil

#referral_url
should: %s == nil
%s == nil
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
#disclaimer
should: %s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time."
%s == "TERMS OF USE: You are not authorized to access or query our Whois database through the use of electronic processes that are high-volume and automated except as reasonably necessary to register domain names or modify existing registrations; the Data in VeriSign's (\"VeriSign\") Whois database is provided by VeriSign for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. VeriSign does not guarantee its accuracy. By submitting a Whois query, you agree to abide by the following terms of use: You agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to VeriSign (or its computer systems). The compilation, repackaging, dissemination or other use of this Data is expressly prohibited without the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time."


#domain
should: %s == "goto.jobs"
%s == "goto.jobs"

#domain_id
should: %s == "91478530"
%s == "91478530"


#status
should: %s == "ACTIVE"
%s == "ACTIVE"

#available?
should: %s == false
%s == false

#registered?
should: %s == true
%s == true


#created_on
should: %s CLASS(time)
should: %s == Time.parse("2010-02-04 18:54:33 UTC")
%s CLASS(time)
%s == Time.parse("2010-02-04 18:54:33 UTC")

#updated_on
should: %s CLASS(time)
should: %s == Time.parse("2013-02-05 03:02:36 UTC")
%s CLASS(time)
%s == Time.parse("2013-02-05 03:02:36 UTC")

#expires_on
should: %s CLASS(time)
should: %s == Time.parse("2014-02-04 18:54:33 UTC")
%s CLASS(time)
%s == Time.parse("2014-02-04 18:54:33 UTC")


#registrar
should: %s CLASS(registrar)
should: %s.id == "667"
should: %s.name == "NAME SHARE, INC"
should: %s.organization == "NAME SHARE, INC"
should: %s.url == "http://www.nameshare.com"
%s CLASS(registrar)
%s.id == "667"
%s.name == "NAME SHARE, INC"
%s.organization == "NAME SHARE, INC"
%s.url == "http://www.nameshare.com"


#nameservers
should: %s CLASS(array)
should: %s SIZE(2)
should: %s[0] CLASS(nameserver)
should: %s[0].name == "ns1.registry.jobs"
should: %s[1] CLASS(nameserver)
should: %s[1].name == "ns2.registry.jobs"
%s CLASS(array)
%s SIZE(2)
%s[0] CLASS(nameserver)
%s[0].name == "ns1.registry.jobs"
%s[1] CLASS(nameserver)
%s[1].name == "ns2.registry.jobs"



#referral_whois
should: %s == "whois.nameshare.com"
%s == "whois.nameshare.com"

#referral_url
should: %s == "http://www.nameshare.com"
%s == "http://www.nameshare.com"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#response_throttled?
should: %s == true
%s == true
18 changes: 9 additions & 9 deletions spec/fixtures/responses/kero.yachay.pe/status_available.expected
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
#status
should: %s == :available
%s == :available

#available?
should: %s == true
%s == true

#registered?
should: %s == false
%s == false


#created_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#updated_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#expires_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)


#nameservers
should: %s CLASS(array)
should: %s == []
%s CLASS(array)
%s == []



#response_throttled?
should: %s == false
%s == false
20 changes: 10 additions & 10 deletions spec/fixtures/responses/kero.yachay.pe/status_inactive.expected
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
#status
should: %s == :inactive
%s == :inactive

#available?
should: %s == false
%s == false

#registered?
should: %s == true
%s == true


#created_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#updated_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#expires_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)


#nameservers
should: %s CLASS(array)
should: %s SIZE(0)
should: %s == []
%s CLASS(array)
%s SIZE(0)
%s == []



#response_throttled?
should: %s == false
%s == false
34 changes: 17 additions & 17 deletions spec/fixtures/responses/kero.yachay.pe/status_registered.expected
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
#status
should: %s == :registered
%s == :registered

#available?
should: %s == false
%s == false

#registered?
should: %s == true
%s == true


#created_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#updated_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#expires_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)


#nameservers
should: %s CLASS(array)
should: %s SIZE(4)
should: %s[0] CLASS(nameserver)
should: %s[0].name == "ns1.google.com"
should: %s[1] CLASS(nameserver)
should: %s[1].name == "ns2.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"
%s CLASS(array)
%s SIZE(4)
%s[0] CLASS(nameserver)
%s[0].name == "ns1.google.com"
%s[1] CLASS(nameserver)
%s[1].name == "ns2.google.com"
%s[2] CLASS(nameserver)
%s[2].name == "ns3.google.com"
%s[3] CLASS(nameserver)
%s[3].name == "ns4.google.com"



#response_throttled?
should: %s == false
%s == false
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
#status
should: %s == :available
%s == :available

#available?
should: %s == true
%s == true

#registered?
should: %s == false
%s == false


#created_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#updated_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#expires_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)


#nameservers
should: %s CLASS(array)
should: %s == []
%s CLASS(array)
%s == []
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
#status
should: %s == :registered
%s == :registered

#available?
should: %s == false
%s == false

#registered?
should: %s == true
%s == true


#created_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#updated_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#expires_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)


#nameservers
should: %s CLASS(array)
should: %s SIZE(4)
should: %s[0] CLASS(nameserver)
should: %s[0].name == "ns1.google.com"
should: %s[1] CLASS(nameserver)
should: %s[1].name == "ns2.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"
%s CLASS(array)
%s SIZE(4)
%s[0] CLASS(nameserver)
%s[0].name == "ns1.google.com"
%s[1] CLASS(nameserver)
%s[1].name == "ns2.google.com"
%s[2] CLASS(nameserver)
%s[2].name == "ns3.google.com"
%s[3] CLASS(nameserver)
%s[3].name == "ns4.google.com"
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
#status
should: %s == :available
%s == :available

#available?
should: %s == true
%s == true

#registered?
should: %s == false
%s == false


#created_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#updated_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)

#expires_on
should: %s raise_error(Whois::AttributeNotSupported)
%s raise_error(Whois::AttributeNotSupported)


#nameservers
should: %s CLASS(array)
should: %s == []
%s CLASS(array)
%s == []
Loading

0 comments on commit 505a22b

Please sign in to comment.