Sha256: 94044b3fe8b6a376bd93d617f15e5bcd9dbe845639e282ba2bd337ff50bb6044

Contents?: true

Size: 674 Bytes

Versions: 2

Compression:

Stored size: 674 Bytes

Contents

# encoding: utf-8

puts "Prawn specs: Running on Ruby Version: #{RUBY_VERSION}"

require "rubygems"
require "test/spec"                                                
require "mocha"
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') 

require "prawn"
require "prawn/layout"
$LOAD_PATH << File.join(Prawn::BASEDIR, 'vendor','pdf-inspector','lib')

Prawn.debug = true

gem 'pdf-reader', ">=0.7.3"
require "pdf/reader"          
require "pdf/inspector"

def create_pdf(klass=Prawn::Document)
  @pdf = klass.new(:left_margin   => 0,
                   :right_margin  => 0,
                   :top_margin    => 0,
                   :bottom_margin => 0)
end    

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prawn-layout-0.2.1 spec/spec_helper.rb
prawn-layout-0.2.0.1 spec/spec_helper.rb