From a48790f05cdfcd5e246c12baf4209628450337d2 Mon Sep 17 00:00:00 2001 From: John Nunemaker Date: Mon, 16 Apr 2012 00:18:41 -0400 Subject: [PATCH] Convert pathname to string. --- spec/support/ssl_test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/ssl_test_helper.rb b/spec/support/ssl_test_helper.rb index d9d8577..702e1b1 100644 --- a/spec/support/ssl_test_helper.rb +++ b/spec/support/ssl_test_helper.rb @@ -12,7 +12,7 @@ module HTTParty if mode ca_path = path.join(ca_basename) raise ArgumentError.new("#{ca_path} does not exist") unless ca_path.exist? - options[mode] = ca_path + options[mode] = ca_path.to_s end test_server = SSLTestServer.new({