Sha256: 16e246970644d1ccfb3813ed69050685a2aa5d638744d9f48f8c4daa9cc942b6
Contents?: true
Size: 506 Bytes
Versions: 16
Compression:
Stored size: 506 Bytes
Contents
# encoding: utf-8 require File.join(File.expand_path(File.dirname(__FILE__)), "..", "spec_helper") require 'set' describe "Prawn::Table::Cell::SpanDummy" do before(:each) do @pdf = Prawn::Document.new @table = @pdf.table([[{:content => "Row", :colspan => 2}]]) @master_cell = @table.cells[0,0] @span_dummy = @master_cell.dummy_cells.first end it "delegates background_color to the master cell" do @span_dummy.background_color.should == @master_cell.background_color end end
Version data entries
16 entries across 16 versions & 2 rubygems