diff --git a/test/services/ssl/parser_test.rb b/test/services/ssl/parser_test.rb index f854deb..b1d69ae 100644 --- a/test/services/ssl/parser_test.rb +++ b/test/services/ssl/parser_test.rb @@ -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? diff --git a/test/services/ssl_test.rb b/test/services/ssl_test.rb index 31a5123..7965f0a 100644 --- a/test/services/ssl_test.rb +++ b/test/services/ssl_test.rb @@ -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