Sha256: 5206d98a5307b7d196ae75fdc3a9311a0e7eaa81ecd8897b0ad70a0980111a06

Contents?: true

Size: 344 Bytes

Versions: 12

Compression:

Stored size: 344 Bytes

Contents

# encoding: utf-8

require File.join(File.expand_path(File.dirname(__FILE__)), "spec_helper")

describe "When creating destinations" do

  before(:each) { create_pdf }

  it "should add entry to Dests name tree" do
    @pdf.dests.data.empty?.should == true
    @pdf.add_dest "candy", "chocolate"
    @pdf.dests.data.size.should == 1
  end

end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
prawn-git-2.0.1 spec/destinations_spec.rb
prawn-2.0.1 spec/destinations_spec.rb
prawn-2.0.0 spec/destinations_spec.rb
prawn-1.3.0 spec/destinations_spec.rb
prawn-1.2.1 spec/destinations_spec.rb
prawn-1.1.0 spec/destinations_spec.rb
prawn-1.0.0 spec/destinations_spec.rb
prawn-0.15.0 spec/destinations_spec.rb
prawn-0.14.0 spec/destinations_spec.rb
prawn-0.13.2 spec/destinations_spec.rb
prawn-0.13.1 spec/destinations_spec.rb
prawn-0.13.0 spec/destinations_spec.rb