summaryrefslogtreecommitdiff
path: root/spec/ruby/library/digest/sha384/inspect_spec.rb
blob: 554a22d1352bdf2aa9a797b631dfaa3d8bbc4297 (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::SHA384#inspect" do

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

end