Sha256: 865714e8e683b0a79c2cab17467e7ff82b90649de9e6f40bae309e00ec5ec83d
Contents?: true
Size: 361 Bytes
Versions: 5
Compression:
Stored size: 361 Bytes
Contents
require 'test_helper' class ConfigurationTest < ActionDispatch::IntegrationTest test "rendering with a configured pdf variable" do get renamed_var_path(format: :pdf) assert_equal "Rendered by a renamed var", pdf.page(1).text end setup do Pdfcraft.variable_name = '__pdf__' end teardown do Pdfcraft.variable_name = 'pdf' end end
Version data entries
5 entries across 5 versions & 1 rubygems