1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-core/features/support/env.rb

21 lines
561 B
Ruby
Raw Normal View History

ENV["TEST"] = "true"
ENV["AUTOLOAD_SPROCKETS"] ||= "false"
2015-11-27 19:19:26 -05:00
require 'sassc'
2013-05-30 13:38:52 -04:00
require 'simplecov'
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
2013-05-30 13:38:52 -04:00
require 'coveralls'
Coveralls.wear!
2014-06-20 17:09:51 -04:00
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
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')