Sha256: 6ad96f97eb51ccad24f95b09c02f181ab1bd09cc98f7613851134bed9da939df

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  ==  "8777d9d35da17496e21dcc8a4f9f8191"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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