middleman/features/step_definitions/env.rb
2009-11-30 11:32:02 -08:00

3 lines
217 B
Ruby

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