Sha256: 49e1f2ef80a70dee1ca839eba1e387e941c0e3dc4ae681029ad88f99d3fd5a05
Contents?: true
Size: 523 Bytes
Versions: 11
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' describe 'Entry' do before do @fs = '/'.to_entry_on(Vfs::Storages::HashFs.new) @path = @fs['/a/b/c'] end it "name" do @path.name.should == 'c' end it 'tmp' do tmp = @fs.tmp tmp.should be_dir tmp = nil @fs.tmp do |path| tmp = path tmp.should be_dir end tmp.should_not exist end it 'should respond to local?' it 'should respond to host' describe 'attributes' do it 'created_at' it 'updated_at' end end
Version data entries
11 entries across 11 versions & 1 rubygems