middleman/features/support/env.rb
2011-07-13 00:38:04 -07:00

4 lines
192 B
Ruby

root_path = File.dirname(File.dirname(File.dirname(__FILE__)))
ENV["MM_DIR"] = File.join(root_path, "fixtures", "test-app")
require File.join(root_path, 'lib', 'middleman')
require "rack/test"