Sha256: 049d944e5ed12fb8b0a016c6e00e9abb55dc44795022940a7ad7fc248e8fa30b
Contents?: true
Size: 604 Bytes
Versions: 9
Compression:
Stored size: 604 Bytes
Contents
require File.expand_path('../shared/constants', __FILE__) describe "Digest::SHA384#to_s" do it "returns a hexdigest" do cur_digest = Digest::SHA384.new cur_digest.to_s.should == SHA384Constants::BlankHexdigest end it "does not change the internal state" do cur_digest = Digest::SHA384.new cur_digest.to_s.should == SHA384Constants::BlankHexdigest cur_digest.to_s.should == SHA384Constants::BlankHexdigest cur_digest << SHA384Constants::Contents cur_digest.to_s.should == SHA384Constants::Hexdigest cur_digest.to_s.should == SHA384Constants::Hexdigest end end
Version data entries
9 entries across 9 versions & 1 rubygems