Sha256: 218d4dea5023d95b70abd247661f750285fb41780b837c81ef04c4f8a24cb823

Contents?: true

Size: 686 Bytes

Versions: 12

Compression:

Stored size: 686 Bytes

Contents

#!/usr/bin/env ruby
# Excel::Writer::TestWorkbook -- Spreadsheet -- 20.07.2011 -- vanderhoorn@gmail.com

$: << File.expand_path('../../../lib', File.dirname(__FILE__))

require 'test/unit'
require 'spreadsheet'

module Spreadsheet
  module Excel
    module Writer
      class TestWorkbook < Test::Unit::TestCase
        def test_sanitize_worksheets
          book = Spreadsheet::Excel::Workbook.new
          assert_instance_of Excel::Workbook, book
          assert_equal book.worksheets.size, 0
          workbook_writer = Excel::Writer::Workbook.new book
          assert_nothing_raised { workbook_writer.sanitize_worksheets book.worksheets }
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
nulogy-spreadsheet-0.6.5.7.4 test/excel/writer/workbook.rb
spreadsheet-0.7.1 test/excel/writer/workbook.rb
spreadsheet-0.7.0 test/excel/writer/workbook.rb
spreadsheet-0.6.9 test/excel/writer/workbook.rb
spreadsheet-0.6.8 test/excel/writer/workbook.rb
spreadsheet-0.6.7 test/excel/writer/workbook.rb
nulogy-spreadsheet-0.6.5.7.3 test/excel/writer/workbook.rb
nulogy-spreadsheet-0.6.5.7.2 test/excel/writer/workbook.rb
spreadsheet-martica-0.6.5.7.m2 test/excel/writer/workbook.rb
spreadsheet-martica-0.6.5.7.m1 test/excel/writer/workbook.rb
ttb-spreadsheet-0.6.5.8 test/excel/writer/workbook.rb
spreadsheet-0.6.5.9 test/excel/writer/workbook.rb