Sha256: 8f6ce29600f40f0e4fd2255ebe25566e0316f8e2294c89fc36299a78d9621076

Contents?: true

Size: 429 Bytes

Versions: 12

Compression:

Stored size: 429 Bytes

Contents

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

class TestWriteAGraphicFrameLocks < Minitest::Test
  def setup
    @drawing = Writexlsx::Drawings.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

12 entries across 12 versions & 1 rubygems

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