Sha256: bb9753e3f3deaa6d41bae9d9617d00c9e427118ba267c2657acdc49ca1568299

Contents?: true

Size: 338 Bytes

Versions: 9

Compression:

Stored size: 338 Bytes

Contents

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

describe "Digest::MD5#digest!" do

  it "returns a digest and can digest!" do
    cur_digest = Digest::MD5.new
    cur_digest << MD5Constants::Contents
    cur_digest.digest!().should == MD5Constants::Digest
    cur_digest.digest().should == MD5Constants::BlankDigest
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

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