Sha256: 4fb97542345e663b1e91ad8fcd5376b51027ab201e7a642a6a396f159c367297

Contents?: true

Size: 524 Bytes

Versions: 7

Compression:

Stored size: 524 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionButton08 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_button08
    @xlsx = 'button08.xlsx'
    workbook   = WriteXLSX.new(@io)
    worksheet1 = workbook.add_worksheet
    worksheet2 = workbook.add_worksheet

    worksheet1.insert_button('C2', {})

    worksheet2.write_comment('A1', 'Foo')

    worksheet2.comments_author = 'John'

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_button08.rb
write_xlsx-0.85.11 test/regression/test_button08.rb
write_xlsx-0.85.10 test/regression/test_button08.rb
write_xlsx-0.85.9 test/regression/test_button08.rb
write_xlsx-0.85.8 test/regression/test_button08.rb
write_xlsx-0.85.7 test/regression/test_button08.rb
write_xlsx-0.85.6 test/regression/test_button08.rb