spec/spec_helper.rb in stencil-0.1.5 vs spec/spec_helper.rb in stencil-0.1.8
- old
+ new
@@ -1,5 +1,7 @@
-require File.expand_path("#{File.dirname(__FILE__)}/../require")
-Require.spec_helper!
+unless ENV['CI']
+ require 'simplecov'
+ SimpleCov.start
+end
-Spec::Runner.configure do |config|
-end
+$root = File.expand_path('../../', __FILE__)
+require "#{$root}/lib/stencil"
\ No newline at end of file