blob: afcdb08de86c8f2fae92315fe6274ea9e212f0bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require File.expand_path('../../../spec_helper', __FILE__)
require 'pathname'
describe "Pathname#==" do
it "returns true when identical paths are used" do
(Pathname.new('') == Pathname.new('')).should == true
end
it "returns true when identical paths are used" do
(Pathname.new('') == Pathname.new('/usr/local/bin')).should == false
end
end
|