mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
9 lines
209 B
Ruby
9 lines
209 B
Ruby
![]() |
require 'pathname'
|
||
|
|
||
|
describe :pathname_plus, shared: true do
|
||
|
it "appends a pathname to self" do
|
||
|
p = Pathname.new("/usr")
|
||
|
p.send(@method, "bin/ruby").should == Pathname.new("/usr/bin/ruby")
|
||
|
end
|
||
|
end
|