summaryrefslogtreecommitdiff
path: root/spec/ruby/library/digest/md5/shared/update.rb
blob: be8622aed5a06bc3ade546ad9ed5b509cbc9cfaf (plain)
1
2
3
4
5
6
7
describe :md5_update, shared: true do
  it "can update" do
    cur_digest = Digest::MD5.new
    cur_digest.send @method, MD5Constants::Contents
    cur_digest.digest.should == MD5Constants::Digest
  end
end