test/helper.rb in write_xlsx-0.64.1 vs test/helper.rb in write_xlsx-0.65.0
- old
+ new
@@ -17,10 +17,10 @@
class Writexlsx::Workbook
#
# Set the default index for each format. This is mainly used for testing.
#
def set_default_xf_indices #:nodoc:
- @formats.each { |format| format.get_xf_index }
+ @formats.formats.each { |format| format.get_xf_index }
end
end
class Test::Unit::TestCase
def setup_dir_var