Sha256: 0d8dc3288fbfdac84d8a7d63f5adcda73d0c3dd014da137a1baeb994e6ae26ab

Contents?: true

Size: 356 Bytes

Versions: 6

Compression:

Stored size: 356 Bytes

Contents

# require 'spec_helper'

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
csv-import-analyzer-0.0.9 spec/csv-import-analyzer_spec.rb
csv-import-analyzer-0.0.8 spec/csv-import-analyzer_spec.rb
csv-import-analyzer-0.0.7 spec/csv-import-analyzer_spec.rb
csv-import-analyzer-0.0.6 spec/csv-import-analyzer_spec.rb
csv-import-analyzer-0.0.5 spec/csv-import-analyzer_spec.rb
csv-import-analyzer-0.0.4 spec/csv-import-analyzer_spec.rb