Sha256: 1e9fc346809cef9925ab474b723c6036a783ad3cb991bb30a6868060a220da63
Contents?: true
Size: 600 Bytes
Versions: 3
Compression:
Stored size: 600 Bytes
Contents
# coding: utf-8 require 'test_helper' class Thinreports::Core::Shape::ImageBlock::TestInterface < Minitest::Test include Thinreports::TestHelper ImageBlock = Thinreports::Core::Shape::ImageBlock def setup @report = new_report 'layout_block.tlf' @page = @report.start_new_page end def test_src @page.item(:image_block1).src('/path/to/image.png') assert_equal '/path/to/image.png', @page.item(:image_block1).src end def test_src= @page.item(:image_block1).src = '/path/to/image.png' assert_equal '/path/to/image.png', @page.item(:image_block1).src end end
Version data entries
3 entries across 3 versions & 1 rubygems