test/stylesheet/tc_border.rb in axlsx-1.0.18 vs test/stylesheet/tc_border.rb in axlsx-1.1.0

- old
+ new

@@ -1,17 +1,16 @@ -require 'test/unit' -require 'axlsx.rb' +require 'tc_helper.rb' class TestBorder < Test::Unit::TestCase - def setup + def setup @b = Axlsx::Border.new end def teardown end def test_initialiation assert_equal(@b.diagonalUp, nil) assert_equal(@b.diagonalDown, nil) - assert_equal(@b.outline, nil) + assert_equal(@b.outline, nil) assert(@b.prs.is_a?(Axlsx::SimpleTypedList)) end def test_diagonalUp assert_raise(ArgumentError) { @b.diagonalUp = :red }