diff options
| author | Jonathan Tron <[email protected]> | 2014-02-26 15:14:56 +0100 |
|---|---|---|
| committer | Jonathan Tron <[email protected]> | 2014-02-26 15:14:56 +0100 |
| commit | a271a7d0f26ecb26d01aad00e094744d6fe8b0d2 (patch) | |
| tree | 644dc2c24a6d827d1705202508f1b14ee8f7671e /test | |
| parent | 450d5e703ff6d45b6689959ea9079e81ff6dc4ad (diff) | |
| download | caxlsx-a271a7d0f26ecb26d01aad00e094744d6fe8b0d2.tar.gz caxlsx-a271a7d0f26ecb26d01aad00e094744d6fe8b0d2.zip | |
Ensure auto_filter defined name is correctly added to workbook (refs #285)
Diffstat (limited to 'test')
| -rw-r--r-- | test/workbook/tc_workbook.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/workbook/tc_workbook.rb b/test/workbook/tc_workbook.rb index 2a51e4bd..51dd01f4 100644 --- a/test/workbook/tc_workbook.rb +++ b/test/workbook/tc_workbook.rb @@ -38,7 +38,7 @@ class TestWorkbook < Test::Unit::TestCase @wb.add_worksheet(:name=>'foo') @wb.add_worksheet(:name=>'bar') assert_equal('foo', @wb.sheet_by_name('foo').name) - + end def test_date1904 assert_equal(Axlsx::Workbook.date1904, @wb.date1904) @@ -71,7 +71,7 @@ class TestWorkbook < Test::Unit::TestCase assert_equal(@wb.worksheets.first, ws, "the worksheet returned is the worksheet added") assert_equal(ws.name, "bob", "name option gets passed to worksheet") end - + def test_insert_worksheet @wb.add_worksheet(:name => 'A') @wb.add_worksheet(:name => 'B') |
