Sha256: f37d6e468c5ee4a51cc6deecb6fe7e916e118346277a58d4c1ba28838c7d167c

Contents?: true

Size: 274 Bytes

Versions: 9

Compression:

Stored size: 274 Bytes

Contents

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

describe "Digest::MD5#inspect" do

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

end

Version data entries

9 entries across 9 versions & 1 rubygems

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