Sha256: 104a961b17855c552a37ddeb7ba241fff250b2aa43eadcc2af43ec70a2dfa20d
Contents?: true
Size: 719 Bytes
Versions: 3
Compression:
Stored size: 719 Bytes
Contents
# -*- coding: utf-8 -*- require 'dumpster' describe Dumpster do let(:model) { stub } context 'CSV' do it '#csv_writer erstellt einen CSV-Writer für das Model' do writer = described_class.csv_writer(model) writer.should be_kind_of(Dumpster::CSV::Writer) end it '#csv_writer kann einen Windows-spezifischen Writer erstellen' do writer = described_class.csv_writer(model, :type => :windows) writer.should be_kind_of(Dumpster::CSV::WindowsWriter) end end context 'Excel' do it '#excel_writer erstellt einen Excel-Writer für das Model' do writer = described_class.excel_writer(model) writer.should be_kind_of(Dumpster::Excel::Writer) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dumpster-0.2.0 | spec/unit/dumpster_spec.rb |
dumpster-0.1.1 | spec/unit/dumpster_spec.rb |
dumpster-0.0.1 | spec/unit/exporter_spec.rb |