Sha256: 25ad9d4265d7154e60ab43a6d3a8095bcaea94936f90f7fa2da6d18e2a53cc16

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 Bytes

Contents

# this file is automatically required in when you require 'assert' in your tests
# put test helpers here

# add root dir to the load path
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))

class Assert::Context

  def xmlss_style_markup(writer)
    Xmlss::Workbook.writer(writer.xmlss_workbook).styles_markup.flush.to_s
  end

  def xmlss_element_markup(writer)
    Xmlss::Workbook.writer(writer.xmlss_workbook).worksheets_markup.flush.to_s
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
osheet-xmlss-1.0.0.rc.3 test/helper.rb
osheet-xmlss-1.0.0.rc.2 test/helper.rb
osheet-xmlss-1.0.0.rc.1 test/helper.rb