Sha256: 4b57882a1bc79b9fcba7b65d7a7846dc4abeb7a5c16b47f8714242564a06d91b

Contents?: true

Size: 428 Bytes

Versions: 7

Compression:

Stored size: 428 Bytes

Contents

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

class TestWriteAGraphicFrameLocks < Minitest::Test
  def setup
    @drawing = Writexlsx::Drawing.new
  end

  def test_write_a_graphic_frame_locks
    expected = '<a:graphicFrameLocks noGrp="1"/>'

    @drawing.__send__(:write_a_graphic_frame_locks)
    result = @drawing.instance_variable_get(:@writer).string

    assert_equal(expected, result)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-1.00.0 test/drawing/test_write_a_graphic_frame_locks.rb
write_xlsx-0.99.0 test/drawing/test_write_a_graphic_frame_locks.rb
write_xlsx-0.97.0 test/drawing/test_write_a_graphic_frame_locks.rb
write_xlsx-0.90.0 test/drawing/test_write_a_graphic_frame_locks.rb
write_xlsx-0.89.0 test/drawing/test_write_a_graphic_frame_locks.rb
write_xlsx-0.88.0 test/drawing/test_write_a_graphic_frame_locks.rb
write_xlsx-0.87.0 test/drawing/test_write_a_graphic_frame_locks.rb