Sha256: f9d4d0dcb88a55a4ffbbf032603ec8beafe1f0aa0450bca6845244d879737909
Contents?: true
Size: 608 Bytes
Versions: 3
Compression:
Stored size: 608 Bytes
Contents
# coding: utf-8 require 'test_helper' class Thinreports::Core::Shape::List::TestPageState < Minitest::Test include Thinreports::TestHelper # Alias List = Thinreports::Core::Shape::List def setup parent = mock('parent') format = mock('format') @state = List::PageState.new(parent, format) end def test_alias_class assert_same List::PageState, List::Internal end def test_type_of? assert_equal @state.type_of?(:list), true end def test_finalized! assert_equal @state.finalized?, false @state.finalized! assert_equal @state.finalized?, true end end
Version data entries
3 entries across 3 versions & 1 rubygems