test/jubilee/test_server.rb in jubilee-0.1.2 vs test/jubilee/test_server.rb in jubilee-0.2.0
- old
+ new
@@ -44,10 +44,10 @@
def test_url_scheme_for_https
app = lambda { |env| [200, {}, [env['rack.url_scheme']]] }
server = Jubilee::Server.new(app, {port:@port, ssl:true,
- keystore: File.join(File.dirname(__FILE__), "../../examples/jubilee/server-keystore.jks"),
+ keystore_path: File.join(File.dirname(__FILE__), "../../examples/jubilee/server-keystore.jks"),
keystore_password: "wibble"})
server.start
http = Net::HTTP.new @host, @port
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE