Sha256: 6019202afb64b3fcca4291324a077f0443c5102f2f7a655aabac66ea1e102421
Contents?: true
Size: 499 Bytes
Versions: 5
Compression:
Stored size: 499 Bytes
Contents
# coding: utf-8 require 'test/unit/helper' class ThinReports::Core::Shape::Text::TestInternal < MiniTest::Unit::TestCase include ThinReports::TestHelpers Text = ThinReports::Core::Shape::Text def setup format = flexmock('format') format.should_receive(:type => 's-text') @internal = Text::Internal.new(flexmock('parent'), format) end def test_type_of? assert_equal @internal.type_of?(:text), true assert_equal @internal.type_of?(:basic), false end end
Version data entries
5 entries across 5 versions & 1 rubygems