middleman/middleman-core/features/support/env.rb
2013-05-30 13:38:52 -04:00

12 lines
399 B
Ruby

ENV["TEST"] = "true"
ENV["AUTOLOAD_SPROCKETS"] = "false"
require 'simplecov'
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
require 'coveralls'
Coveralls.wear!
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core')
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core', 'step_definitions')