Sha256: 532fd2761049b6458c6676a86508f7ccb8efe6077a1accdb39a22e56c2fa08a0
Contents?: true
Size: 380 Bytes
Versions: 10
Compression:
Stored size: 380 Bytes
Contents
require 'spec_helper' require 'ronin/network/ssl' describe Network::SSL do describe 'verify' do it "should map verify mode names to numeric values" do subject.verify(:peer).should == OpenSSL::SSL::VERIFY_PEER end it "should default to VERIFY_NONE if no verify mode name is given" do subject.verify.should == OpenSSL::SSL::VERIFY_NONE end end end
Version data entries
10 entries across 10 versions & 1 rubygems