summaryrefslogtreecommitdiff
path: root/spec/ruby/library/digest/md5/inspect_spec.rb
blob: e23465337abaa9a882a94830f81600eece959eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path('../../../../spec_helper', __FILE__)
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