21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-26 05:50:50 +02:00

fix namespace for SSL::Response

This commit is contained in:
Jérémy Lecour 2019-03-03 11:05:05 +01:00
parent 491ed0567a
commit 1d82c743bc
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ module SSL
parser = Parser.new("ssl0.domain.org")
domain = file_fixture("ssl/ssl0.domain.org.txt").read
response = parser.parse(domain)
assert_kind_of Whois::Response, response
assert_kind_of SSL::Response, response
assert_equal Time.new(2028, 6, 10, 9, 14, 18, 0), response.expire_at
assert response.expire_at.utc?
@ -21,7 +21,7 @@ module SSL
parser = Parser.new("ssl1.domain.org")
domain = file_fixture("ssl/ssl1.domain.org.txt").read
response = parser.parse(domain)
assert_kind_of Whois::Response, response
assert_kind_of SSL::Response, response
assert_equal Time.new(2022, 8, 6, 0, 57, 0, 0), response.expire_at
assert response.expire_at.utc?

View file

@ -35,7 +35,7 @@ module SSL
)
service = Service.new("ssl0.domain.org")
assert_kind_of Whois::Response, service.parse(result)
assert_kind_of SSL::Response, service.parse(result)
end
test "should uses the command line arguments of the configuration" do