Sha256: 614ae720d07bb418f054ceddc83e910ccaaf787010fab061b14c85fce1e6be80

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

require 'spec_helper'

describe 'Entry' do
  with_test_fs
  
  before do
    @path = test_fs['a/b/c']
  end
  
  it "name" do
    @path.name.should == 'c'
  end
  
  it 'tmp' do
    tmp = test_fs.tmp
    tmp.should be_dir
    
    tmp = nil
    test_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.12 spec/entry_spec.rb
vfs-0.3.11 spec/entry_spec.rb