2012-05-25 21:19:11 -04:00
|
|
|
ENV["TEST"] = "true"
|
2014-04-07 15:43:16 -04:00
|
|
|
ENV["AUTOLOAD_SPROCKETS"] ||= "false"
|
2012-05-25 21:19:11 -04:00
|
|
|
|
2013-05-30 13:38:52 -04:00
|
|
|
require 'simplecov'
|
|
|
|
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
|
|
|
|
|
2015-06-07 22:12:00 -04:00
|
|
|
require 'capybara/poltergeist'
|
|
|
|
Capybara.javascript_driver = :poltergeist
|
|
|
|
|
2013-05-30 13:38:52 -04:00
|
|
|
require 'coveralls'
|
|
|
|
Coveralls.wear!
|
2013-05-29 09:59:15 -04:00
|
|
|
|
2014-06-20 17:09:51 -04:00
|
|
|
require 'codeclimate-test-reporter'
|
|
|
|
CodeClimate::TestReporter.start
|
|
|
|
|
2011-12-29 18:09:51 -05:00
|
|
|
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
|
|
|
|
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core')
|
2012-08-13 18:39:06 -04:00
|
|
|
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core', 'step_definitions')
|