Sha256: 52220ae6ebd5d80e928e3b4580ad03039030fc513cf5704030485764200513af

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

require 'feature_test'

class TestPalletedPng < FeatureTest
  feature :palleted_png do
    report = Thinreports::Report.new layout: template_path
    report.start_new_page do |page|
      page.item(:image).src = path_of('palleted_png.png')
    end

    assert_pdf report.generate
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thinreports-0.10.3 test/features/palleted_png/test_palleted_png.rb