Sha256: f7e81314a4af6982525ecf0b240ce130b7d5d3987ec627c603d4aeb3765439a5
Contents?: true
Size: 658 Bytes
Versions: 4
Compression:
Stored size: 658 Bytes
Contents
# coding: utf-8 require 'test/unit/helper' class ThinReports::Core::Shape::ImageBlock::TestInterface < MiniTest::Unit::TestCase include ThinReports::TestHelpers ImageBlock = ThinReports::Core::Shape::ImageBlock def setup @interface = ImageBlock::Interface.new(flexmock('parent'), ImageBlock::Format.new({})) end def test_src_should_work_the_same_as_value_method @interface.src('/path/to/image.png') assert_equal @interface.src, '/path/to/image.png' end def test_properly_initialized_internal_property assert_instance_of ImageBlock::Internal, @interface.internal end end
Version data entries
4 entries across 4 versions & 1 rubygems