Sha256: d3e83ba8363cd5f3c5abc84794a8555635c0cd67b7723c7a40561d3f03086026
Contents?: true
Size: 317 Bytes
Versions: 5
Compression:
Stored size: 317 Bytes
Contents
require 'pathname' describe "Pathname#hash" do it "is equal to the hash of the pathname" do Pathname.new('/usr/local/bin/').hash.should == '/usr/local/bin/'.hash end it "is not equal the hash of a different pathname" do Pathname.new('/usr/local/bin/').hash.should_not == '/usr/bin/'.hash end end
Version data entries
5 entries across 5 versions & 1 rubygems