Sha256: 22eb7195bf364792762c7a834b9b9785d618b0cddec2b316e441a934047f1691
Contents?: true
Size: 670 Bytes
Versions: 9
Compression:
Stored size: 670 Bytes
Contents
# require File.expand_path('../../test_helper', __FILE__) # module Paid # class CertificateBlacklistTest < Test::Unit::TestCase # should "not trust revoked certificates" do # assert_raises(Paid::APIConnectionError) { # Paid::CertificateBlacklist.check_ssl_cert("https://revoked.paidapi.com:444", # Paid::DEFAULT_CA_BUNDLE_PATH) # } # end # should "trust api.paidapi.com" do # assert_true Paid::CertificateBlacklist.check_ssl_cert("https://api.paidapi.com", # Paid::DEFAULT_CA_BUNDLE_PATH) # end # end # end
Version data entries
9 entries across 9 versions & 1 rubygems