Sha256: e00f303b0d6ae875a7178f6e4e71459294d1d646e524f4ea34cd9e6dd4992e5d

Contents?: true

Size: 303 Bytes

Versions: 132

Compression:

Stored size: 303 Bytes

Contents

describe :md5_length, :shared => true do
  it 'returns the length of the digest' do
    cur_digest = Digest::MD5.new
    cur_digest.send(@method).should == MD5Constants::BlankDigest.size
    cur_digest << MD5Constants::Contents
    cur_digest.send(@method).should == MD5Constants::Digest.size
  end
end

Version data entries

132 entries across 132 versions & 2 rubygems

Version Path
rhodes-2.0.0.beta7 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-2.0.0.beta6 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-2.0.0.beta4 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-2.0.0.beta3 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-1.5.5 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-2.0.0.beta2 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-2.0.0.beta1 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-1.5.4 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-1.5.3 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-1.5.2 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-1.5.1 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb
rhodes-1.5.0 spec/framework_spec/app/spec/library/digest/md5/shared/length.rb