Sha256: 991bf4b2aa5212c8045b454b0d029564d75ef91cafbf0cde44778348074e34cf

Contents?: true

Size: 222 Bytes

Versions: 9

Compression:

Stored size: 222 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubysl-digest-2.1 spec/sha256/shared/update.rb
rubysl-digest-1.2.0 spec/sha256/shared/update.rb
rubysl-digest-1.1.0 spec/sha256/shared/update.rb
rubysl-digest-2.0.8 spec/sha256/shared/update.rb
rubysl-digest-2.0.7 spec/sha256/shared/update.rb
rubysl-digest-1.0.1 spec/sha256/shared/update.rb
rubysl-digest-2.0.3 spec/sha256/shared/update.rb
rubysl-digest-1.0.0 spec/sha256/shared/update.rb
rubysl-digest-2.0.2 spec/sha256/shared/update.rb