diff options
Diffstat (limited to 'spec/ruby/library/digest/sha256/shared/update.rb')
-rw-r--r-- | spec/ruby/library/digest/sha256/shared/update.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/library/digest/sha256/shared/update.rb b/spec/ruby/library/digest/sha256/shared/update.rb new file mode 100644 index 0000000000..0edc07935b --- /dev/null +++ b/spec/ruby/library/digest/sha256/shared/update.rb @@ -0,0 +1,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 |