Sha256: fb33de6f7994dc83becc4801837c0a8a93d8a11d4db9cea596c827768412fe5b

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

# this file is automatically required when you run `assert`
# put any test helpers here

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

# require pry for debugging (`binding.pry`)
require 'pry'

require 'xmlss/workbook'

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

1 entries across 1 versions & 1 rubygems

Version Path
osheet-xmlss-1.0.0 test/helper.rb