middleman/features/step_definitions/env.rb

3 lines
211 B
Ruby
Raw Normal View History

ENV["MM_DIR"] = File.join(File.dirname(File.dirname(File.dirname(__FILE__))), "fixtures", "test-app")
2009-11-23 00:37:11 +01:00
require File.join(File.dirname(File.dirname(File.dirname(__FILE__))), 'lib', 'middleman')
require "rack/test"