diff options
| author | Bruce Davidson <[email protected]> | 2016-01-13 19:48:00 +0000 |
|---|---|---|
| committer | Bruce Davidson <[email protected]> | 2016-01-13 19:48:00 +0000 |
| commit | c80c8b9d9be5542471d66afcc2ce4ddd80cac1f7 (patch) | |
| tree | f68585b3fa0f85d4b791395d34e8d226b850e209 /test/workbook | |
| parent | 776aaf53cb5c19c854c27f5daedd40431ad5b2ba (diff) | |
| download | caxlsx-c80c8b9d9be5542471d66afcc2ce4ddd80cac1f7.tar.gz caxlsx-c80c8b9d9be5542471d66afcc2ce4ddd80cac1f7.zip | |
Fix #440 - allow control of position of outline summary row/columns
Diffstat (limited to 'test/workbook')
| -rw-r--r-- | test/workbook/worksheet/tc_outline_pr.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/workbook/worksheet/tc_outline_pr.rb b/test/workbook/worksheet/tc_outline_pr.rb new file mode 100644 index 00000000..41a2b4ca --- /dev/null +++ b/test/workbook/worksheet/tc_outline_pr.rb @@ -0,0 +1,19 @@ +require 'tc_helper.rb' + +class TestOutlinePr < Test::Unit::TestCase + def setup + @outline_pr = Axlsx::OutlinePr.new(:summary_below => false, :summary_right => true, :apply_styles => false) + end + + def test_summary_below + assert_equal false, @outline_pr.summary_below + end + + def test_summary_right + assert_equal true, @outline_pr.summary_right + end + + def test_apply_styles + assert_equal false, @outline_pr.apply_styles + end +end |
