test/test_04_dimensions.rb in writeexcel-1.0.5 vs test/test_04_dimensions.rb in writeexcel-1.0.6

- old
+ new

@@ -12,11 +12,11 @@ # ############################################################################ require 'helper' require 'stringio' -class TC_dimensions < Test::Unit::TestCase +class TC_dimensions < Minitest::Test def setup @workbook = WriteExcel.new(StringIO.new) @worksheet = @workbook.add_worksheet @format = @workbook.add_format @@ -384,10 +384,10 @@ assert_equal('=SUM(A1:D1)', formula) end def test_merge_range - formula = @worksheet.__send__("store_formula", '=A1 * 3 + 50') + @worksheet.__send__("store_formula", '=A1 * 3 + 50') @worksheet.merge_range('C6:E8', 'Test', @format) data = @worksheet.__send__("store_dimensions") vals = data.unpack('x4 VVvv')