diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-05 17:37:28 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-06 09:55:31 +0200 |
| commit | a802d1d179f5ab56b419e1b47e62885d72b5384d (patch) | |
| tree | 70e8cc79f12a4e17efb6dc0126cc0ed204669142 /test/workbook/worksheet/tc_table_style_info.rb | |
| parent | b5d7a7a1917adb12e3ea04abe261a37f8aff7f56 (diff) | |
| download | caxlsx-a802d1d179f5ab56b419e1b47e62885d72b5384d.tar.gz caxlsx-a802d1d179f5ab56b419e1b47e62885d72b5384d.zip | |
Fix Layout/EmptyLineBetweenDefs offenses
```
rubocop --only Layout/EmptyLineBetweenDefs -a
```
Diffstat (limited to 'test/workbook/worksheet/tc_table_style_info.rb')
| -rw-r--r-- | test/workbook/worksheet/tc_table_style_info.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/workbook/worksheet/tc_table_style_info.rb b/test/workbook/worksheet/tc_table_style_info.rb index 276f7aa4..9ba03ea7 100644 --- a/test/workbook/worksheet/tc_table_style_info.rb +++ b/test/workbook/worksheet/tc_table_style_info.rb @@ -30,6 +30,7 @@ class TestTableStyleInfo < Test::Unit::TestCase assert_raises(ArgumentError) { table_style.send(key.to_sym, 'foo') } end end + def doc @doc ||= Nokogiri::XML(Axlsx::TableStyleInfo.new(@options).to_xml_string) end |
