Sha256: 4155e4a07c3e032e37af52ae08babdcb2ebcf9c1b7748fcd89dc93c53c1e7eb1
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require_relative 'test_helper' describe "FastExcel" do it "should create temporary file if filename is nil" do workbook = FastExcel.open(constant_memory: true) assert(workbook.tmp_file) assert_match(/fast_excel.xslx$/, workbook.filename) result = workbook.read_string assert(result.size > 1000) end it "should close workbook and delete tmp file when read_string" do workbook = FastExcel.open workbook.read_string refute(File.exist?(workbook.filename)) refute(workbook.is_open) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fast_excel-0.2.0 | test/tmpfile_test.rb |