Sha256: 8e3087927ef7a4e0536aa046b3888f96607bea6d25ae577c0425d3f982e0382f
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
SPEC_ROOT = File.dirname(__FILE__) $LOAD_PATH.unshift(SPEC_ROOT) $LOAD_PATH.unshift(File.join(SPEC_ROOT, '..', 'lib')) require 'pdfkit' require 'rspec' require 'rspec/autorun' require 'mocha' RSpec.configure do |config| config.before do PDFKit.any_instance.stubs(:wkhtmltopdf).returns( File.join(SPEC_ROOT,'..','bin','wkhtmltopdf-proxy') ) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pdfkit-0.3.3 | spec/spec_helper.rb |
pdfkit-0.3.2 | spec/spec_helper.rb |