spec/spec_helper.rb in pdfkit-0.7.0 vs spec/spec_helper.rb in pdfkit-0.8.0
- old
+ new
@@ -1,7 +1,12 @@
SPEC_ROOT = File.dirname(__FILE__)
$LOAD_PATH.unshift(SPEC_ROOT)
$LOAD_PATH.unshift(File.join(SPEC_ROOT, '..', 'lib'))
+require 'simplecov'
+SimpleCov.start do
+ add_filter 'spec/'
+end
+
require 'pdfkit'
require 'rspec'
require 'mocha'
require 'rack'
require 'rack/test'