Sha256: 882e3ae0043589f4b4ad26ade158a06de8e86b071e9f939a877fae6b16e2967d

Contents?: true

Size: 253 Bytes

Versions: 9

Compression:

Stored size: 253 Bytes

Contents

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

describe "Digest::MD5#block_length" do

  it "returns the length of digest block" do
    cur_digest = Digest::MD5.new
    cur_digest.block_length.should == MD5Constants::BlockLength
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

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