Sha256: caa473d68a40abf5ee9a548494e7cf23914fbd56696a25c6b5651190f55733fd

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

require 'pathname'

describe 'Pathname#+' do
  it 'returns a new Pathname' do
    p1 = Pathname.new('foo')
    p2 = Pathname.new('bar')

    (p1 + p2).should == Pathname.new('foo/bar')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubysl-pathname-2.3 spec/plus_spec.rb