Sha256: d189826f2d5e0a727c4b2b2199928a1034f5d85124777daf5ae7e398e69d3e6d
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 Bytes
Contents
# frozen_string_literal: true require_relative '../../../test_helper' describe DocParser::NilOutput do it 'should not create a file' do Dir.mktmpdir do |dir| filename = File.join(dir, '*') DocParser::NilOutput.new Dir[filename].must_be_empty end end it 'must give the correct rowcount' do output = DocParser::NilOutput.new output.header = 'test', 'the', 'header' output.rowcount.must_equal 0 output.add_row %w[aap noot mies] output.add_row %w[aap noot mies] output.rowcount.must_equal 0 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docparser-0.3.0 | test/lib/docparser/output/nil_output_test.rb |