Sha256: 349ac359ff2c42ecf93586f2c50d25acaa6f9bcae4570bc1eda9bcd3e6bee55a

Contents?: true

Size: 485 Bytes

Versions: 25

Compression:

Stored size: 485 Bytes

Contents

#!/usr/bin/env ruby
# TestWorkbook -- Spreadheet -- 24.09.2008 -- hwyss@ywesee.com

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

require 'test/unit'
require 'spreadsheet'
require 'fileutils'
require 'stringio'

module Spreadsheet
  class TestWorkbook < Test::Unit::TestCase
    def setup
      @io = StringIO.new ''
      @book = Workbook.new
    end
    def test_writer__default_excel
      assert_instance_of Excel::Writer::Workbook, @book.writer(@io)
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
spreadsheet-0.6.5.6 test/workbook.rb
spreadsheet-0.6.5.5 test/workbook.rb
spreadsheet-0.6.5.4 test/workbook.rb
spreadsheet-0.6.5.3 test/workbook.rb
spreadsheet-0.6.5.2 test/workbook.rb
spreadsheet-0.6.5.1 test/workbook.rb
ruby-spreadsheet-0.6.5 test/workbook.rb
spreadsheet-0.6.5.0 test/workbook.rb
spreadsheet-0.6.4.1 test/workbook.rb
spreadsheet-0.6.4 test/workbook.rb
spreadsheet-0.6.1.3 test/workbook.rb
spreadsheet-0.6.1.1 test/workbook.rb
spreadsheet-0.6.0 test/workbook.rb
spreadsheet-0.6.1.2 test/workbook.rb
spreadsheet-0.6.1.9 test/workbook.rb
spreadsheet-0.6.1.6 test/workbook.rb
spreadsheet-0.6.2 test/workbook.rb
spreadsheet-0.6.1.4 test/workbook.rb
spreadsheet-0.6.2.1 test/workbook.rb
spreadsheet-0.6.3 test/workbook.rb