Skip to content
Browse files

Update fixtures

  • Loading branch information...
1 parent 06c8426 commit eb3d7bdf497f264fd1ca02555a1f3b7678fcb2fc @weppos committed Nov 13, 2012
View
14 lib/whois/record/parser/whois.dns.pl.rb
@@ -14,16 +14,14 @@ module Whois
class Record
class Parser
- #
- # = whois.dns.pl parser
- #
# Parser for the whois.dns.pl server.
#
- # NOTE: This parser is just a stub and provides only a few basic methods
- # to check for domain availability and get domain status.
- # Please consider to contribute implementing missing methods.
- # See WhoisNicIt parser for an explanation of all available methods
- # and examples.
+ # @note This parser is just a stub and provides only a few basic methods
+ # to check for domain availability and get domain status.
+ # Please consider to contribute implementing missing methods.
+ #
+ # @see Whois::Record::Parser::Example
+ # The Example parser for the list of all available methods.
#
class WhoisDnsPl < Base
View
6 spec/fixtures/responses/whois.dns.pl/property_nameservers_with_ip.expected
@@ -2,8 +2,8 @@
should: %s CLASS(array)
should: %s SIZE(2)
should: %s[0] CLASS(nameserver)
- should: %s[0].name == "ns2.pentex.pl"
- should: %s[0].ipv4 == "94.23.90.95"
+ should: %s[0].name == "dns1.pentex.pl"
+ should: %s[0].ipv4 == "188.165.232.46"
should: %s[1] CLASS(nameserver)
- should: %s[1].name == "ns1.pentex.pl"
+ should: %s[1].name == "dns2.pentex.pl"
should: %s[1].ipv4 == "83.142.46.21"
View
36 spec/fixtures/responses/whois.dns.pl/property_nameservers_with_ip.txt
@@ -1,32 +1,24 @@
-
+
DOMAIN NAME: pentex.pl
-registrant's handle: tdc4473086545641 (INDIVIDUAL)
-nameservers: ns2.pentex.pl. [94.23.90.95]
- ns1.pentex.pl. [83.142.46.21]
-created: 2001.06.20 13:00:00
-last modified: 2010.06.19 15:53:22
+registrant type: individual
+nameservers: dns1.pentex.pl. [188.165.232.46]
+ dns2.pentex.pl. [83.142.46.21]
+created: 2001.06.20 13:00:00
+last modified: 2012.06.19 15:56:18
+renewal date: 2013.06.19 14:00:00
no option
-TECHNICAL CONTACT:
-company: Albert Jerka, Andrzej Kostrzewa
- AZ.pl Sp. z o.o.
-street: Sosnowa 6a
-city: 71-468 Szczecin
-location: PL
-handle: tdc8616666759345
-phone: +48.914243780
-fax: +48.914243799
-last modified: 2010.07.19
+dnssec: Unsigned
REGISTRAR:
-AZ.pl Sp. z o.o.
-ul. Sosnowa 6a
-71-468 Szczecin
-Polska/Poland
-+48.91 4243780
-domena@az.pl
+OVH SAS
+2 Rue Kellermann
+59100 Roubaix
+Francja/France
++48.71 7860700
+pomoc@ovh.pl
WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system
Registrant data available at http://dns.pl/cgi-bin/en_whois.pl
View
2 spec/fixtures/responses/whois.dns.pl/status_available.txt
@@ -1,4 +1,4 @@
-
+
No information available about domain name u34jedzcq.pl in the Registry NASK database.
View
8 spec/fixtures/responses/whois.dns.pl/status_registered.txt
@@ -1,8 +1,8 @@
-
+
DOMAIN NAME: google.pl
registrant type: organization
-nameservers: ns2.google.com.
- ns1.google.com.
+nameservers: ns2.google.com.
+ ns1.google.com.
created: 2002.09.19 13:00:00
last modified: 2012.08.17 11:21:09
renewal date: 2013.09.18 14:00:00
@@ -33,4 +33,4 @@ United States
ccops@markmonitor.com
WHOIS displays data with a delay not exceeding 15 minutes in relation to the .pl Registry system
-Registrant data available at http://dns.pl/cgi-bin/en_whois.pl
+Registrant data available at http://dns.pl/cgi-bin/en_whois.pl
View
6 spec/whois/record/parser/responses/whois.dns.pl/property_nameservers_with_ip_spec.rb
@@ -26,10 +26,10 @@
subject.nameservers.should be_a(Array)
subject.nameservers.should have(2).items
subject.nameservers[0].should be_a(Whois::Record::Nameserver)
- subject.nameservers[0].name.should == "ns2.pentex.pl"
- subject.nameservers[0].ipv4.should == "94.23.90.95"
+ subject.nameservers[0].name.should == "dns1.pentex.pl"
+ subject.nameservers[0].ipv4.should == "188.165.232.46"
subject.nameservers[1].should be_a(Whois::Record::Nameserver)
- subject.nameservers[1].name.should == "ns1.pentex.pl"
+ subject.nameservers[1].name.should == "dns2.pentex.pl"
subject.nameservers[1].ipv4.should == "83.142.46.21"
end
end

0 comments on commit eb3d7bd

Please sign in to comment.
Something went wrong with that request. Please try again.