Sha256: 0b1ea5f90ab966943ae6277e93d1bc1b8f3a684033ac6066746e4341812a7394

Contents?: true

Size: 619 Bytes

Versions: 3

Compression:

Stored size: 619 Bytes

Contents

# encoding: utf-8

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

require "rubygems"
require "bundler"
Bundler.setup

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') 
require "prawn"

Prawn.debug = true

require "test/spec"
require "mocha"
require "pdf/reader"
require "pdf/inspector"

def create_pdf(klass=Prawn::Document)
  @pdf = klass.new(:margin => 0)
end    

# Make some methods public to assist in testing
module Prawn::Graphics
  public :map_to_absolute
end

require File.expand_path(File.join(File.dirname(__FILE__),
                                   %w[extensions mocha]))

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prawn-1.0.0.rc1 spec/spec_helper.rb
prawn-0.12.0 spec/spec_helper.rb
prawn-0.11.1 spec/spec_helper.rb