spec/spec_helper.rb in pdfkit-0.3.0 vs spec/spec_helper.rb in pdfkit-0.3.1
- old
+ new
@@ -6,6 +6,10 @@
require 'spec/autorun'
require 'mocha'
Spec::Runner.configure do |config|
+ config.before do
+ PDFKit.any_instance.stubs(:wkhtmltopdf).returns(File.join(SPEC_ROOT,'..','bin','wkhtmltopdf-proxy'))
+ end
+
end