spec/servers/with_ssl_primitives.rb in arachni-rpc-em-0.1.3 vs spec/servers/with_ssl_primitives.rb in arachni-rpc-em-0.2
- old
+ new
@@ -1,6 +1,9 @@
require_relative 'server'
+$stdout.reopen( '/dev/null', 'w' )
+$stderr.reopen( '/dev/null', 'w' )
+
cwd = File.expand_path( File.dirname( __FILE__ ) )
opts = rpc_opts.merge(
port: 7332,
ssl_ca: cwd + '/../pems/cacert.pem',
ssl_pkey: cwd + '/../pems/server/key.pem',