test/jubilee/test_server.rb in jubilee-0.4.0 vs test/jubilee/test_server.rb in jubilee-0.4.1
- old
+ new
@@ -40,11 +40,10 @@
def test_large_post_body
skip
end
-
def test_url_scheme_for_https
app = lambda { |env| [200, {}, [env['rack.url_scheme']]] }
server = Jubilee::Server.new(app, {port:@port, ssl:true,
keystore_path: File.join(File.dirname(__FILE__), "../../examples/jubilee/server-keystore.jks"),
keystore_password: "wibble"})
@@ -63,6 +62,7 @@
end
server.stop
assert_equal "https", body
end
+
end