Sha256: d4706aed62bf55293a6d41e96aea72328b1723af988013fad1af8aa22e9f60e4

Contents?: true

Size: 542 Bytes

Versions: 3

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

SPEC_ROOT = File.dirname(__FILE__)
$LOAD_PATH.unshift(SPEC_ROOT)
$LOAD_PATH.unshift(File.join(SPEC_ROOT, '..', 'lib'))
require 'simplecov'
SimpleCov.start do
  add_filter 'spec/'
end

Warning[:deprecated] = true if defined?(Warning.[]=)

require 'pdfkit'
require 'rspec'
require 'mocha'
require 'rack'
require 'rack/test'
require 'active_support'
require 'custom_wkhtmltopdf_path' if File.exist?(File.join(SPEC_ROOT, 'custom_wkhtmltopdf_path.rb'))

RSpec.configure do |config|
  include Rack::Test::Methods
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pdfkit-0.8.7.1 spec/spec_helper.rb
pdfkit-0.8.7 spec/spec_helper.rb
pdfkit-0.8.6 spec/spec_helper.rb