Sha256: 5d884d6125ee05fec939a0efa6f0431e8c614a5ddad2d31a3f35d56e2994bbf1

Contents?: true

Size: 283 Bytes

Versions: 9

Compression:

Stored size: 283 Bytes

Contents

require File.expand_path('../shared/constants', __FILE__)

describe "Digest::SHA256#inspect" do

  it "returns a Ruby object representation" do
    cur_digest = Digest::SHA256.new
    cur_digest.inspect.should == "#<#{SHA256Constants::Klass}: #{cur_digest.hexdigest()}>"
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

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