summaryrefslogtreecommitdiff
path: root/spec/ruby/library/digest/sha256/shared/update.rb
blob: 0edc07935b803b57219c13e38db7f65a108c8503 (plain)
1
2
3
4
5
6
7
describe :sha256_update, shared: true do
  it "can update" do
    cur_digest = Digest::SHA256.new
    cur_digest.send @method, SHA256Constants::Contents
    cur_digest.digest.should == SHA256Constants::Digest
  end
end