Sha256: 2bf8f38c55d1879ae0e8ff56ff21622bf9382f0eb9bf7ed64027a217655a8e90

Contents?: true

Size: 453 Bytes

Versions: 3

Compression:

Stored size: 453 Bytes

Contents

# require 'spec_helper'

# CsvImportAnalyzer.process("sampleTab.csv", {:metadata_output => true})


describe CsvImportAnalyzer do
  include CsvImportAnalyzer
  it 'should return invalid file as file not found' do
    expect(CsvImportAnalyzer.process("sample.csv")).to be_instance_of(FileNotFound)
  end
  it 'should be able to process a valid file' do
    expect(CsvImportAnalyzer.process($sample_csv_path)).not_to be_instance_of(FileNotFound)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv-import-analyzer-0.0.3 spec/csv-import-analyzer_spec.rb
csv-import-analyzer-0.0.2 spec/csv-import-analyzer_spec.rb
csv-import-analyzer-0.0.1 spec/csv-import-analyzer_spec.rb