test/test_roo.rb in roo-0.4.0 vs test/test_roo.rb in roo-0.4.1
- old
+ new
@@ -853,6 +853,18 @@
yaml_entry(16,4,"string","vierundvierzig")+
yaml_entry(16,5,"string","fuenfundvierzig"), oo.to_yaml({}, 12,3)
end
end
+ def test_old_openoffice
+ if OPENOFFICE
+ oo = Openoffice.new(File.join("/media","LACIE","ferien","Ferien.ods"))
+ oo.default_sheet = oo.sheets.first
+ assert_equal 2006, oo.cell('A',1)
+ assert_equal "Berlin", oo.cell('B',1)
+ assert_equal "Herbstferien", oo.cell('C',1)
+ assert_equal Date.new(2006,10,2), oo.cell('D',1)
+ assert_equal Date.new(2006,10,14), oo.cell('E',1)
+ end
+ end
+
end # class