Skip to content

Commit

Permalink
Update .NO fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Aug 26, 2015
1 parent bd20f23 commit 689fb2a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
Expand Up @@ -14,7 +14,7 @@

#updated_on
%s %CLASS{time}
%s %TIME{2014-01-27}
%s %TIME{2015-01-27}

#expires_on
%s %ERROR{AttributeNotSupported}
Expand Up @@ -16,7 +16,7 @@ Name Server Handle.........: NSGO29H-NORID

Additional information:
Created: 2001-02-26
Last updated: 2014-01-27
Last updated: 2015-01-27

NORID Handle...............: GNA233O-NORID
Type.......................: organization
Expand Down
3 changes: 2 additions & 1 deletion spec/tlds.yml
Expand Up @@ -882,8 +882,9 @@ nl:
_server: whois.domain-registry.nl
status_available: u34jedzcq.nl
status_registered: google.nl
nl:
no:
_server: whois.norid.no
_subdir: no
status_available: u34jedzcq.no
status_registered: google.no
np:
Expand Down
Expand Up @@ -3,7 +3,7 @@
# This file is autogenerated. Do not edit it manually.
# If you want change the content of this file, edit
#
# /spec/fixtures/responses/whois.norid.no/status_available.expected
# /spec/fixtures/responses/whois.norid.no/no/status_available.expected
#
# and regenerate the tests with the following rake task
#
Expand All @@ -16,7 +16,7 @@
describe Whois::Record::Parser::WhoisNoridNo, "status_available.expected" do

subject do
file = fixture("responses", "whois.norid.no/status_available.txt")
file = fixture("responses", "whois.norid.no/no/status_available.txt")
part = Whois::Record::Part.new(body: File.read(file))
described_class.new(part)
end
Expand Down
Expand Up @@ -3,7 +3,7 @@
# This file is autogenerated. Do not edit it manually.
# If you want change the content of this file, edit
#
# /spec/fixtures/responses/whois.norid.no/status_registered.expected
# /spec/fixtures/responses/whois.norid.no/no/status_registered.expected
#
# and regenerate the tests with the following rake task
#
Expand All @@ -16,7 +16,7 @@
describe Whois::Record::Parser::WhoisNoridNo, "status_registered.expected" do

subject do
file = fixture("responses", "whois.norid.no/status_registered.txt")
file = fixture("responses", "whois.norid.no/no/status_registered.txt")
part = Whois::Record::Part.new(body: File.read(file))
described_class.new(part)
end
Expand Down Expand Up @@ -45,7 +45,7 @@
describe "#updated_on" do
it do
expect(subject.updated_on).to be_a(Time)
expect(subject.updated_on).to eq(Time.parse("2014-01-27"))
expect(subject.updated_on).to eq(Time.parse("2015-01-27"))
end
end
describe "#expires_on" do
Expand Down

0 comments on commit 689fb2a

Please sign in to comment.