Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update fixtures

  • Loading branch information...
commit 3b5cb60e3e5be611a9439bf624921a227e35d4ed 1 parent 31f7343
@weppos authored
View
2  spec/fixtures/responses/whois.centralnic.com/ar.com/status_registered.expected
@@ -10,7 +10,7 @@
#status
- %s == ["OK"]
+ %s == ["ok"]
#available?
%s == false
View
8 spec/fixtures/responses/whois.centralnic.com/hu.com/status_registered.expected
@@ -10,7 +10,7 @@
#status
- %s == ["pendingDelete"]
+ %s == ["pendingDelete", "pendingDelete"]
#available?
%s == false
@@ -50,7 +50,7 @@
%s[0].address == "Kapsu 32-53"
%s[0].city == "Vilnius"
%s[0].zip == "02167"
- %s[0].state == "MI"
+ %s[0].state == nil
%s[0].country == nil
%s[0].country_code == "LT"
%s[0].phone == "+370.52711457"
@@ -68,7 +68,7 @@
%s[0].address == "Kapsu 32-53"
%s[0].city == "Vilnius"
%s[0].zip == "02167"
- %s[0].state == "MI"
+ %s[0].state == nil
%s[0].country == nil
%s[0].country_code == "LT"
%s[0].phone == "+370.52711457"
@@ -86,7 +86,7 @@
%s[0].address == "Kapsu 32-53"
%s[0].city == "Vilnius"
%s[0].zip == "02167"
- %s[0].state == "MI"
+ %s[0].state == nil
%s[0].country == nil
%s[0].country_code == "LT"
%s[0].phone == "+370.52711457"
View
2  spec/whois/record/parser/responses/whois.centralnic.com/ar.com/status_registered_spec.rb
@@ -38,7 +38,7 @@
end
describe "#status" do
it do
- expect(subject.status).to eq(["OK"])
+ expect(subject.status).to eq(["ok"])
end
end
describe "#available?" do
View
8 spec/whois/record/parser/responses/whois.centralnic.com/hu.com/status_registered_spec.rb
@@ -38,7 +38,7 @@
end
describe "#status" do
it do
- expect(subject.status).to eq(["pendingDelete"])
+ expect(subject.status).to eq(["pendingDelete", "pendingDelete"])
end
end
describe "#available?" do
@@ -90,7 +90,7 @@
expect(subject.registrant_contacts[0].address).to eq("Kapsu 32-53")
expect(subject.registrant_contacts[0].city).to eq("Vilnius")
expect(subject.registrant_contacts[0].zip).to eq("02167")
- expect(subject.registrant_contacts[0].state).to eq("MI")
+ expect(subject.registrant_contacts[0].state).to eq(nil)
expect(subject.registrant_contacts[0].country).to eq(nil)
expect(subject.registrant_contacts[0].country_code).to eq("LT")
expect(subject.registrant_contacts[0].phone).to eq("+370.52711457")
@@ -110,7 +110,7 @@
expect(subject.admin_contacts[0].address).to eq("Kapsu 32-53")
expect(subject.admin_contacts[0].city).to eq("Vilnius")
expect(subject.admin_contacts[0].zip).to eq("02167")
- expect(subject.admin_contacts[0].state).to eq("MI")
+ expect(subject.admin_contacts[0].state).to eq(nil)
expect(subject.admin_contacts[0].country).to eq(nil)
expect(subject.admin_contacts[0].country_code).to eq("LT")
expect(subject.admin_contacts[0].phone).to eq("+370.52711457")
@@ -130,7 +130,7 @@
expect(subject.technical_contacts[0].address).to eq("Kapsu 32-53")
expect(subject.technical_contacts[0].city).to eq("Vilnius")
expect(subject.technical_contacts[0].zip).to eq("02167")
- expect(subject.technical_contacts[0].state).to eq("MI")
+ expect(subject.technical_contacts[0].state).to eq(nil)
expect(subject.technical_contacts[0].country).to eq(nil)
expect(subject.technical_contacts[0].country_code).to eq("LT")
expect(subject.technical_contacts[0].phone).to eq("+370.52711457")
Please sign in to comment.
Something went wrong with that request. Please try again.