1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Convert pathname to string.

This commit is contained in:
John Nunemaker 2012-04-16 00:18:41 -04:00
parent e92d0c6d89
commit a48790f05c

View file

@ -12,7 +12,7 @@ module HTTParty
if mode if mode
ca_path = path.join(ca_basename) ca_path = path.join(ca_basename)
raise ArgumentError.new("#{ca_path} does not exist") unless ca_path.exist? raise ArgumentError.new("#{ca_path} does not exist") unless ca_path.exist?
options[mode] = ca_path options[mode] = ca_path.to_s
end end
test_server = SSLTestServer.new({ test_server = SSLTestServer.new({