aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/digest/md5/block_length_spec.rb
blob: 1f64859747b7c73aa28b99c0ce1344b49b8aa507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require_relative '../../../spec_helper'
require_relative 'shared/constants'

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