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