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