spec/spec_helper.rb in pdfkit-0.2.3 vs spec/spec_helper.rb in pdfkit-0.3.0

- old
+ new

@@ -1,9 +1,11 @@ -$LOAD_PATH.unshift(File.dirname(__FILE__)) -$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) +SPEC_ROOT = File.dirname(__FILE__) +$LOAD_PATH.unshift(SPEC_ROOT) +$LOAD_PATH.unshift(File.join(SPEC_ROOT, '..', 'lib')) require 'pdfkit' require 'spec' require 'spec/autorun' +require 'mocha' Spec::Runner.configure do |config| end