Use SassC in tests
This commit is contained in:
parent
309733b067
commit
f2db1567a4
2
Gemfile
2
Gemfile
|
@ -13,7 +13,7 @@ gem 'cucumber', '~> 2.0', require: false
|
||||||
|
|
||||||
# Optional middleman dependencies, included for tests
|
# Optional middleman dependencies, included for tests
|
||||||
gem 'haml', '>= 4.0.5', require: false
|
gem 'haml', '>= 4.0.5', require: false
|
||||||
gem 'sassc', '~> 1.8'
|
gem 'sassc', '~> 1.8', require: false
|
||||||
gem 'coffee-script', '~> 2.2', require: false
|
gem 'coffee-script', '~> 2.2', require: false
|
||||||
gem 'kramdown', '~> 1.2', require: false
|
gem 'kramdown', '~> 1.2', require: false
|
||||||
gem 'slim', '>= 2.0', require: false
|
gem 'slim', '>= 2.0', require: false
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
ENV["TEST"] = "true"
|
ENV["TEST"] = "true"
|
||||||
ENV["AUTOLOAD_SPROCKETS"] ||= "false"
|
ENV["AUTOLOAD_SPROCKETS"] ||= "false"
|
||||||
|
|
||||||
|
require 'sassc'
|
||||||
|
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
|
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue