spec/blather/stream/ssl_spec.rb in blather-1.0.0 vs spec/blather/stream/ssl_spec.rb in blather-1.1.0

- old
+ new

@@ -8,17 +8,17 @@ subject do Blather::CertStore.new cert_dir end it 'can verify valid cert' do - subject.trusted?(cert).should be_true + subject.trusted?(cert).should be true end it 'can verify invalid cert' do subject.trusted?(cert[0..(cert.length/2)]).should be_nil end it 'cannot verify when the cert authority is not trusted' do @store = Blather::CertStore.new("../") - @store.trusted?(cert).should be_false + @store.trusted?(cert).should be false end end