Sha256: 088f2b38988e3c9d1945fa45a47efeace51c01faa032e3b1152759c74b71cae6

Contents?: true

Size: 368 Bytes

Versions: 38

Compression:

Stored size: 368 Bytes

Contents

require 'tc_helper.rb'

class TestFill < Test::Unit::TestCase

  def setup
    @item = Axlsx::Fill.new Axlsx::PatternFill.new
  end

  def teardown
  end

  def test_initialiation
    assert(@item.fill_type.is_a?(Axlsx::PatternFill))
    assert_raise(ArgumentError) { Axlsx::Fill.new }
    assert_nothing_raised { Axlsx::Fill.new(Axlsx::GradientFill.new) }
  end

end

Version data entries

38 entries across 38 versions & 6 rubygems

Version Path
caxlsx-3.1.1 test/stylesheet/tc_fill.rb
caxlsx-3.1.0 test/stylesheet/tc_fill.rb
bonio-axlsx-2.2.3 test/stylesheet/tc_fill.rb
caxlsx-3.0.4 test/stylesheet/tc_fill.rb
caxlsx-3.0.3 test/stylesheet/tc_fill.rb
caxlsx-3.0.2 test/stylesheet/tc_fill.rb
caxlsx-2.0.2 test/stylesheet/tc_fill.rb
caxlsx-3.0.1 test/stylesheet/tc_fill.rb
caxlsx-3.0.0 test/stylesheet/tc_fill.rb
axlsx-alt-3.0.1 test/stylesheet/tc_fill.rb
axlsx-alt-3.0.0 test/stylesheet/tc_fill.rb
axlsx-3.0.0.pre test/stylesheet/tc_fill.rb
bonio-axlsx-2.2.2 test/stylesheet/tc_fill.rb
bonio-axlsx-2.2.1 test/stylesheet/tc_fill.rb
dg-axlsx-2.1.0 test/stylesheet/tc_fill.rb
axlsx-2.1.0.pre test/stylesheet/tc_fill.rb
l_axlsx-2.0.1 test/stylesheet/tc_fill.rb
axlsx-2.0.1 test/stylesheet/tc_fill.rb
axlsx-2.0.0 test/stylesheet/tc_fill.rb
axlsx-1.3.6 test/stylesheet/tc_fill.rb