Sha256: 8009345e2ed85d3c450b2552b7f66e55d4eadae3f1b39eaef4da555cf31788b3

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require File.expand_path( File.join(File.dirname(__FILE__), "..", "spec_helper") )

describe "MD5" do

  TEST_FILE = File.expand_path( File.join( File.dirname(__FILE__), "..", "..", "lib", "dircat", "extension_md5.rb" ) )

  it "test_simple_md5" do
    file_name = File.join( TEST_FILE )
    MD5.file( file_name ).to_s.should  ==  "eb29e47aba9693862895688422171221"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dircat-0.1.5 spec/dircat/md5_spec.rb