$:.unshift File.dirname(__FILE__) require 'cotta_specifications' $:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib') require 'spec' require 'buildmaster/cotta/in_memory_system' module BuildMaster context 'Cotta file' do extend CottaSpecifications setup do @system = InMemorySystem.new end register_cotta_file_specifications end end