examples/example_test.rb in qpid_proton-0.23.0 vs examples/example_test.rb in qpid_proton-0.24.0
- old
+ new
@@ -73,9 +73,10 @@
want = (0..9).reduce("") { |x,y| x << "Received: sequence #{y}\n" }
assert_output(want.strip, "simple_recv.rb", $url, "examples")
end
def test_ssl_send_recv
+ skip 'SSL not available' unless Qpid::Proton::SSL.present?
out = run_script("ssl_send.rb", $url, "examples").read.strip
assert_match(/Connection secured with "...*\"\nAll 10 messages confirmed!/, out)
want = (0..9).reduce("") { |x,y| x << "Received: sequence #{y}\n" }
assert_output(want.strip, "simple_recv.rb", $url, "examples")
end