Sha256: 57009724a1b693b7c734677b274ad194e094c9161b2f7fec5f87b5c387adc1b6
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 Bytes
Contents
require 'integration/spec_helper' describe Dumpster::Excel::Writer do let(:data) { [['col1-row1', 'col2-row1'], ['col1-row2', 'col2-row2']] } let(:model) { Dumpster::Model::Generic.new(data) } subject { described_class.new(model) } it '#write_to_file schreibt die CSV Daten in eine Datei' do output_path = File.join(File.dirname(__FILE__), 'output', 'example.xlsx') FileUtils.rm_f(output_path) subject.write_to_file(output_path) File.exists?(output_path).should be_true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dumpster-0.1.1 | spec/integration/excel/writer_spec.rb |
dumpster-0.0.1 | spec/integration/excel/writer_spec.rb |