$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rid' require 'spec' require 'spec/autorun' Spec::Runner.configure do |config| end # returns the dirname of the mock app # def mock_app_root File.expand_path('../mock_app', __FILE__) end