summaryrefslogtreecommitdiff
path: root/spec/ruby/library/digest/md5/block_length_spec.rb
blob: acc3108da41651e75a36c8bf65d34831fa2c3d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path('../../../../spec_helper', __FILE__)
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