Sha256: 4e552ad384e51b7de462948a9387e8425b1a4bd5aa951bfb302180f6889653e9
Contents?: true
Size: 629 Bytes
Versions: 4
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class Thinreports::Core::Shape::ImageBlock::TestInterface < Minitest::Test include Thinreports::TestHelper ImageBlock = Thinreports::Core::Shape::ImageBlock def setup @report = Thinreports::Report.new layout: layout_file.path @page = @report.start_new_page end def test_src @page.item(:image_block).src('/path/to/image.png') assert_equal '/path/to/image.png', @page.item(:image_block).src end def test_src= @page.item(:image_block).src = '/path/to/image.png' assert_equal '/path/to/image.png', @page.item(:image_block).src end end
Version data entries
4 entries across 4 versions & 1 rubygems