Sha256: dfec9617d13c7223da15baeebdde81489a1369b1415f621e0011d791cb101878
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
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| config.before do PDFKit.any_instance.stubs(:wkhtmltopdf).returns(File.join(SPEC_ROOT,'..','bin','wkhtmltopdf-proxy')) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pdfkit-0.3.1 | spec/spec_helper.rb |