blob: 4fea959da16be0e05a2886c7dcc8f90387f94715 (
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::SHA256#block_length" do
it "returns the length of digest block" do
cur_digest = Digest::SHA256.new
cur_digest.block_length.should == SHA256Constants::BlockLength
end
end
|