summaryrefslogtreecommitdiffhomepage
path: root/test/workbook/worksheet/tc_pivot_table.rb
diff options
context:
space:
mode:
authorrandym <[email protected]>2018-02-08 21:56:12 +0900
committerrandym <[email protected]>2018-02-08 21:56:12 +0900
commit71dba5a4154edf4939c9537901cbf9217a896515 (patch)
treeb3693a4aac8ef1703ea2f593a03e9c735d764ded /test/workbook/worksheet/tc_pivot_table.rb
parent747ff93269c518db21c9869b61b1d1470395b502 (diff)
downloadcaxlsx-71dba5a4154edf4939c9537901cbf9217a896515.tar.gz
caxlsx-71dba5a4154edf4939c9537901cbf9217a896515.zip
chore(coverage): 100% coverage, 100% docs
Diffstat (limited to 'test/workbook/worksheet/tc_pivot_table.rb')
-rw-r--r--test/workbook/worksheet/tc_pivot_table.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/workbook/worksheet/tc_pivot_table.rb b/test/workbook/worksheet/tc_pivot_table.rb
index ff7f8b92..6d7f4d1c 100644
--- a/test/workbook/worksheet/tc_pivot_table.rb
+++ b/test/workbook/worksheet/tc_pivot_table.rb
@@ -117,12 +117,7 @@ class TestPivotTable < Test::Unit::TestCase
end
def test_to_xml_string
- pivot_table = @ws.add_pivot_table('G5:G6', 'A1:D5')
- shared_test_pivot_table_xml_validity(pivot_table)
- end
-
- def test_to_xml_string_with_configuration
- pivot_table = @ws.add_pivot_table('G5:G6', 'A1:E5') do |pt|
+ pivot_table = @ws.add_pivot_table('G5:G6', 'A1:E5', {:no_subtotals_on_headers=>['Year']}) do |pt|
pt.rows = ['Year', 'Month']
pt.columns = ['Type']
pt.data = ['Sales']