features/steps/secure_connections_steps.rb in stomper-2.0.0 vs features/steps/secure_connections_steps.rb in stomper-2.0.1
- old
+ new
@@ -23,9 +23,11 @@
@connection.ssl[:post_connection_check] = host
end
Then /^connecting should raise an openssl error$/ do
lambda { @connection.connect }.should raise_error(OpenSSL::SSL::SSLError)
+ # It is problematic that this is needed...
+ @broker.stop
end
When /^an SSL post connection check is not performed$/ do
@connection.ssl[:post_connection_check] = false
end