Sha256: 440d7ba0de9a660dbdd25576a6ca1acd51b56ae152f49e13377e8d8005523c6a
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 Bytes
Contents
# coding: utf-8 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.9.1 | test/unit/core/shape/styles/test_basic.rb |
thinreports-0.9.0 | test/unit/core/shape/styles/test_basic.rb |