test/activity/ssl_activity.rb in ruboto-1.1.0 vs test/activity/ssl_activity.rb in ruboto-1.1.1
- old
+ new
@@ -27,10 +27,9 @@
@thread.join
run_on_ui_thread { @text_view.text = 'net/https loaded OK!' }
@open_uri_thread.join
run_on_ui_thread { @response_view.text = 'open-uri loaded OK!' }
puts 'before open'
- ENV['TMPDIR'] = files_dir.absolute_path
open('https://google.com/', ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE) do |f|
puts 'inside open'
body = f.read
puts 'body'
puts body