Sha256: 4203dc20c4aaab6cb3608f17e03aa8bc2c153e07e8d49b8e97d5458ed4624dad
Contents?: true
Size: 733 Bytes
Versions: 1
Compression:
Stored size: 733 Bytes
Contents
# coding: utf-8 require 'test/unit/helper' class ThinReports::Core::Shape::List::TestEvents < MiniTest::Unit::TestCase include ThinReports::TestHelpers List = ThinReports::Core::Shape::List def setup @events = List::Events.new end def test_allowed_event_types assert_equal @events.instance_variable_get(:@types), [:page_footer_insert, :footer_insert] end def test_SectionEvent e = List::Events::SectionEvent.new(:section_event, :target, :store) assert_equal e.type, :section_event assert_equal e.target, :target assert_equal e.section, :target assert_equal e.store, :store end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.6.0.pre3 | test/unit/core/shape/list/test_events.rb |