test/tmpfile_test.rb in fast_excel-0.2.6 vs test/tmpfile_test.rb in fast_excel-0.3.0
- old
+ new
@@ -15,9 +15,10 @@
it "should close workbook and delete tmp file when read_string" do
workbook = FastExcel.open
workbook.read_string
refute(File.exist?(workbook.filename))
+ refute(File.exist?(File.dirname(workbook.filename)))
refute(workbook.is_open)
end
end