2012-05-26 03:19:11 +02:00
|
|
|
ENV["TEST"] = "true"
|
|
|
|
|
2015-11-28 01:19:26 +01:00
|
|
|
require 'sassc'
|
|
|
|
|
2013-05-30 19:38:52 +02:00
|
|
|
require 'simplecov'
|
|
|
|
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
|
|
|
|
|
2015-06-08 04:12:00 +02:00
|
|
|
require 'capybara/poltergeist'
|
|
|
|
Capybara.javascript_driver = :poltergeist
|
|
|
|
|
2013-05-30 19:38:52 +02:00
|
|
|
require 'coveralls'
|
|
|
|
Coveralls.wear!
|
2013-05-29 15:59:15 +02:00
|
|
|
|
2014-06-20 23:09:51 +02:00
|
|
|
require 'codeclimate-test-reporter'
|
|
|
|
CodeClimate::TestReporter.start
|
|
|
|
|
2011-12-30 00:09:51 +01:00
|
|
|
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
|
|
|
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core')
|
2012-08-14 00:39:06 +02:00
|
|
|
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core', 'step_definitions')
|