Sha256: 3238227b2cbcfe7793980e10ff4f0982f68e1434971f0b2dc212d895677bbd58

Contents?: true

Size: 351 Bytes

Versions: 33

Compression:

Stored size: 351 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

33 entries across 33 versions & 10 rubygems

Version Path
kavu-prawn-core-0.4.100 spec/destinations_spec.rb
kavu-prawn-core-0.4.99 spec/destinations_spec.rb
prawn-1.0.0.rc2 spec/destinations_spec.rb
nurettin-prawn-1.0.0.rc1 spec/destinations_spec.rb
prawn-1.0.0.rc1 spec/destinations_spec.rb
prawn-0.12.0 spec/destinations_spec.rb
prawn-0.11.1 spec/destinations_spec.rb
davebenvenuti-prawn-0.11.1.pre spec/destinations_spec.rb
piglop-prawn-0.10.2.3 spec/destinations_spec.rb
piglop-prawn-0.10.2.2 spec/destinations_spec.rb
piglop-prawn-0.10.2.1 spec/destinations_spec.rb
prawn-0.11.1.pre spec/destinations_spec.rb
goodwill-prawn-edge-0.10.0 spec/destinations_spec.rb
alphasights-prawn-0.10.4 spec/destinations_spec.rb
alphasights-prawn-0.10.3 spec/destinations_spec.rb
alphasights-prawn-0.10.2 spec/destinations_spec.rb
alphasights-prawn-0.10.1 spec/destinations_spec.rb
alphasights-prawn-0.10.0 spec/destinations_spec.rb
prawn-core-0.8.4 spec/destinations_spec.rb
prawn-graph-0.0.2 vendor/prawn-core/spec/destinations_spec.rb