diff options
| author | 2017-06-12 03:37:11 -0400 | |
|---|---|---|
| committer | 2017-06-12 03:37:11 -0400 | |
| commit | 8280a21a23d44aa90177e2bc041d0b8dc8556f4b (patch) | |
| tree | dadef7ee085c0e990a5070bd41b6a5b98c97f4fd /test/helpers/test_formulas.rb | |
Import Upstream version 2.7.1upstream/2.7.1
Diffstat (limited to 'test/helpers/test_formulas.rb')
| -rw-r--r-- | test/helpers/test_formulas.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/helpers/test_formulas.rb b/test/helpers/test_formulas.rb new file mode 100644 index 0000000..509fba4 --- /dev/null +++ b/test/helpers/test_formulas.rb @@ -0,0 +1,9 @@ +module TestFormulas + def test_empty_sheet_formulas + options = { name: "emptysheets", format: [:openoffice, :excelx] } + with_each_spreadsheet(options) do |oo| + oo.default_sheet = oo.sheets.first + assert_equal [], oo.formulas, "An empty sheet's formulas should be an empty array" + end + end +end |
