Sha256: 8b52a5974f2e13b697e9036146259529a537d467876c0ffd56d5c45186c41617
Contents?: true
Size: 453 Bytes
Versions: 2
Compression:
Stored size: 453 Bytes
Contents
require 'spec_helper' describe DataForge::File::RecordFileReader do describe ".for" do it "should return a record reader for the specified file definition" do definition = instance_double DataForge::File::CSV::CSVRecordFileDefinition expect(DataForge::File::CSV::CSVRecordFileReader).to receive(:new).with(definition).and_return "record reader" expect(described_class.for definition).to eq "record reader" 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_reader_spec.rb |
data_forge-0.1 | spec/data_forge/file/record_file_reader_spec.rb |