Sha256: 0b6fca7dd71f6f763af1402136ea05ea2ca30c2d43ac01cd9ca25c24c49d667d
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
require 'spec' require File.dirname(__FILE__) + '/../test' describe Pathname do it 'parent check for unix path' do pathname = Pathname.new('/') pathname.cotta_parent.should be_nil end it 'parent check for windows path' do pathname = Pathname.new('D:/') pathname.cotta_parent.should be_nil end it 'parent check for normal ppl' do pathname = Pathname.new('/test') pathname.cotta_parent.should == Pathname.new('/') end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
cotta-1.0.0 | test/cotta/pathname_spec.rb |
BuildMaster-1.1.12 | test/buildmaster/cotta/tc_pathname.rb |