root_path = File.dirname(File.dirname(File.dirname(__FILE__))) require File.join(root_path, 'lib', 'middleman') require "rack/test"