Sha256: 3dd4befe39a9dc52ec6c285b894983027cfca2f7f48005f55ac30a2d377c90eb
Contents?: true
Size: 388 Bytes
Versions: 9
Compression:
Stored size: 388 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' require 'rack' 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
9 entries across 9 versions & 3 rubygems