1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/library/pathname/shared/plus.rb
2020-12-27 17:35:32 +01:00

8 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