Sha256: 6dfd762ef52a9c135680dee2048b68b53cf31b5de61b856236ae4df8c7e8fd40

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 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

1 entries across 1 versions & 1 rubygems

Version Path
vfs-0.3.13 spec/entry_spec.rb