Sha256: 17fe7c5514eb28cb54613e2e089a644e260571cd5e6ba0e858dde7beaddc9ce4
Contents?: true
Size: 520 Bytes
Versions: 4
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class Thinreports::Core::Shape::Text::TestInternal < Minitest::Test include Thinreports::TestHelper Text = Thinreports::Core::Shape::Text def create_internal(format_config = {}) report = Thinreports::Report.new layout: layout_file.path Text::Internal.new(report.start_new_page, Text::Format.new(format_config)) end def test_type_of? assert create_internal.type_of?('text'), true refute create_internal.type_of?(:basic), false end end
Version data entries
4 entries across 4 versions & 1 rubygems