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

16 lines
473 B
Ruby
Raw Normal View History

ENV["TEST"] = "true"
2012-05-24 23:29:29 +02:00
ENV["AUTOLOAD_SPROCKETS"] = "false"
2013-05-30 19:38:52 +02:00
require 'simplecov'
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
2013-05-30 19:38:52 +02:00
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')