Sha256: 1036849c163512563fe1c742660e657e2d7c345a3bdf9f22b93847f9f516044c

Contents?: true

Size: 313 Bytes

Versions: 8

Compression:

Stored size: 313 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
roo-2.10.1 test/helpers/test_formulas.rb
roo-2.10.0 test/helpers/test_formulas.rb
roo-2.9.0 test/helpers/test_formulas.rb
roo-2.8.3 test/helpers/test_formulas.rb
roo-2.8.2 test/helpers/test_formulas.rb
roo-2.8.1 test/helpers/test_formulas.rb
roo-2.8.0 test/helpers/test_formulas.rb
roo-2.7.1 test/helpers/test_formulas.rb