Sha256: 1e7adf30508a61b1b5bd430ddb5afbde4a40e7f394202506e21397c965769457

Contents?: true

Size: 360 Bytes

Versions: 7

Compression:

Stored size: 360 Bytes

Contents

# -*- coding: utf-8 -*-
require File.expand_path( File.join(File.dirname(__FILE__), "..", "spec_helper") )
describe "MD5" do
  it "test_simple_md5" do
    file_name = File.expand_path( File.join( File.dirname(__FILE__), "..", "..", "lib", "dircat", "extension_md5.rb" ) )
    MD5.file( file_name ).to_s.should  ==  "ab4bc9cf679dede00672f2246e204b06"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dircat-0.1.12 spec/dircat/md5_spec.rb
dircat-0.1.11 spec/dircat/md5_spec.rb
dircat-0.1.10 spec/dircat/md5_spec.rb
dircat-0.1.9 spec/dircat/md5_spec.rb
dircat-0.1.8 spec/dircat/md5_spec.rb
dircat-0.1.7 spec/dircat/md5_spec.rb
dircat-0.1.6 spec/dircat/md5_spec.rb