Sha256: ebbe533838de28bc539778085bc66dca23e325999ec367f4dc4703df36d3f6ab
Contents?: true
Size: 453 Bytes
Versions: 2
Compression:
Stored size: 453 Bytes
Contents
require 'spec_helper' describe DataForge::File::RecordFileWriter do describe ".for" do it "should return a record writer for the specified file definition" do definition = instance_double DataForge::File::CSV::CSVRecordFileDefinition expect(DataForge::File::CSV::CSVRecordFileWriter).to receive(:new).with(definition).and_return "record writer" expect(described_class.for definition).to eq "record writer" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
data_forge-0.1.1 | spec/data_forge/file/record_file_writer_spec.rb |
data_forge-0.1 | spec/data_forge/file/record_file_writer_spec.rb |