Sha256: 117ff8c8b38ef43da5ef2d25662336b55706d9453a538d6e242d6b88d5561c49
Contents?: true
Size: 538 Bytes
Versions: 1
Compression:
Stored size: 538 Bytes
Contents
require File.dirname(__FILE__) + '/../test' require File.dirname(__FILE__) + '/file_system_behaviors' module Cotta describe InMemorySystem do it_should_behave_like 'FileSystemBehaviors' def create_system @system = InMemorySystem.new @ios = Array.new end after do @ios.each {|io| io.close unless io.closed?} end it 'root directory always exists' do @system.dir_exists?(Pathname.new('/')).should == true @system.dir_exists?(Pathname.new('D:/')).should == true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cotta-1.0.0 | test/cotta/in_memory_system_spec.rb |