Sha256: 337405e07a846bce007b9823f7f66bac05a59336177450ed732ce3b915e2d6fb

Contents?: true

Size: 628 Bytes

Versions: 7

Compression:

Stored size: 628 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_button02
    @xlsx = 'button02.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_button('B4',
                            {
                              :x_offset => 4,
                              :y_offset => 3,
                              :caption  => 'my text'
                            }
                            )

    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_button02.rb
write_xlsx-0.85.11 test/regression/test_button02.rb
write_xlsx-0.85.10 test/regression/test_button02.rb
write_xlsx-0.85.9 test/regression/test_button02.rb
write_xlsx-0.85.8 test/regression/test_button02.rb
write_xlsx-0.85.7 test/regression/test_button02.rb
write_xlsx-0.85.6 test/regression/test_button02.rb