Sha256: f8fb11f4f38cfced33877b3e8fc447183466c779bc50967b42bf88d7b8495d3e
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 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' it 'size' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vfs-0.3.10 | spec/entry_spec.rb |
vfs-0.3.9 | spec/entry_spec.rb |