middleman/middleman-more/features/support/env.rb

11 lines
348 B
Ruby
Raw Normal View History

ENV["TEST"] = "true"
2012-05-24 23:29:29 +02:00
ENV["AUTOLOAD_SPROCKETS"] = "false"
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
core_root = File.expand_path("../../../../middleman-core/lib/middleman-core", __FILE__)
require core_root
require File.join(core_root, "step_definitions")
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-more')