spec/spec_helper.rb in pdfkit-0.3.3 vs spec/spec_helper.rb in pdfkit-0.4.0
- old
+ new
@@ -3,9 +3,10 @@
$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(