Sha256: f37c41d80662cf4db34bfd521e93b0b91dc3b5b488f5658537be7b8b9fc0cea6

Contents?: true

Size: 260 Bytes

Versions: 9

Compression:

Stored size: 260 Bytes

Contents

require File.expand_path('../shared/constants', __FILE__)

describe "Digest::MD5#digest_length" do

  it "returns the length of computed digests" do
    cur_digest = Digest::MD5.new
    cur_digest.digest_length.should == MD5Constants::DigestLength
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubysl-digest-2.1 spec/md5/digest_length_spec.rb
rubysl-digest-1.2.0 spec/md5/digest_length_spec.rb
rubysl-digest-1.1.0 spec/md5/digest_length_spec.rb
rubysl-digest-2.0.8 spec/md5/digest_length_spec.rb
rubysl-digest-2.0.7 spec/md5/digest_length_spec.rb
rubysl-digest-1.0.1 spec/md5/digest_length_spec.rb
rubysl-digest-2.0.3 spec/md5/digest_length_spec.rb
rubysl-digest-1.0.0 spec/md5/digest_length_spec.rb
rubysl-digest-2.0.2 spec/md5/digest_length_spec.rb