Sha256: 784a6dd09aece508a2b8c76b7143a97c22a0a45a57add62c04b2ae69fb8f08c1

Contents?: true

Size: 376 Bytes

Versions: 12

Compression:

Stored size: 376 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'
require 'write_xlsx/drawing'

class TestDrawingWriteRow < Minitest::Test
  def setup
    @drawing = Writexlsx::Drawings.new
  end

  def test_write_row
    expected = '<xdr:row>8</xdr:row>'

    @drawing.__send__(:write_row, 8)
    result = @drawing.instance_variable_get(:@writer).string

    assert_equal(expected, result)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/drawing/test_write_row.rb
write_xlsx-1.09.3 test/drawing/test_write_row.rb
write_xlsx-1.09.2 test/drawing/test_write_row.rb
write_xlsx-1.09.1 test/drawing/test_write_row.rb
write_xlsx-1.09.0 test/drawing/test_write_row.rb
write_xlsx-1.08.2 test/drawing/test_write_row.rb
write_xlsx-1.08.1 test/drawing/test_write_row.rb
write_xlsx-1.08.0 test/drawing/test_write_row.rb
write_xlsx-1.07.0 test/drawing/test_write_row.rb
write_xlsx-1.04.0 test/drawing/test_write_row.rb
write_xlsx-1.02.0 test/drawing/test_write_row.rb
write_xlsx-1.01.0 test/drawing/test_write_row.rb