$:.unshift File.dirname(__FILE__) require 'system_file_specifications' $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib') require 'buildmaster/cotta/in_memory_system' require 'spec' module BuildMaster context 'In memory system' do setup do @system = InMemorySystem.new @ios = Array.new end teardown do @ios.each {|io| io.close unless io.closed?} end register_system_file_specifications end end