Sha256: e1521443356a46ea127eaccc9a9fd128a6c39388913eeeaf4da11c1d4acd2110

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 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
    expect(@pdf.dests.data.empty?).to eq(true)
    @pdf.add_dest "candy", "chocolate"
    expect(@pdf.dests.data.size).to eq(1)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prawn-2.1.0 spec/destinations_spec.rb
prawn-2.0.2 spec/destinations_spec.rb