$:.unshift File.join(File.dirname(__FILE__)) require 'cotta_specifications' $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib') require 'spec' require 'buildmaster/cotta/in_memory_system' module BuildMaster context 'Directory object with cotta for in memory system' do extend CottaSpecifications setup do @system = InMemorySystem.new end specify 'dir should not be equal if system different' do (BuildMaster::CottaDir.new(InMemorySystem.new, Pathname.new('dir')) == @dir).should_equal false end register_cotta_dir_specifications end end