blob: 84e8d8f7efc961b713e23fdb764d2792acbfd148 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require_relative '../../spec_helper'
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
|