Sha256: b1c5c3a7e1dab19a0d4c1a886e57cce634296a65c455511434f513fe8e71d084
Contents?: true
Size: 699 Bytes
Versions: 1
Compression:
Stored size: 699 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'cotta_dir_behaviors' $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'buildmaster') require 'spec' require 'cotta/in_memory_system' module BuildMaster describe InMemorySystem, 'with Cotta Dir' do it_should_behave_like 'CottaDirBehaviors' def create_system @system = InMemorySystem.new end it 'dir should not be equal if system different' do (BuildMaster::CottaDir.new(InMemorySystem.new, Pathname.new('dir')) == @dir).should == false end it 'to_s and inspect' do file = CottaFile.new(@system, '/one/two/file.txt') "#{file.to_s}".should == '/one/two/file.txt' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
BuildMaster-1.1.9 | test/buildmaster/cotta/tc_cotta_dir_in_memory.rb |