Sha256: eb667ee06856302252e6d5fe5c5f89349fdb6982427ba12df317ffa3ee3f8214
Contents?: true
Size: 669 Bytes
Versions: 4
Compression:
Stored size: 669 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class Thinreports::Core::Shape::Style::TestBasic < Minitest::Test include Thinreports::TestHelper def create_basic_style(format_config = {}) format = Thinreports::Core::Shape::Basic::Format.new(format_config) Thinreports::Core::Shape::Style::Basic.new(format) end def test_visible_should_return_visibility_of_format_as_default style = create_basic_style('display' => false) assert_equal style.visible, false end def test_visible_should_properly_set_visibility style = create_basic_style('display' => false) style.visible = true assert_equal style.visible, true end end
Version data entries
4 entries across 4 versions & 1 rubygems