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